|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
jmri.util.JmriJFrame
jmri.jmrit.operations.OperationsFrame
jmri.jmrit.operations.rollingstock.RollingStockSetFrame
jmri.jmrit.operations.rollingstock.cars.CarSetFrame
public class CarSetFrame
Frame for user to place car on the layout
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected JCheckBox |
ignoreLoadCheckBox
|
protected static ResourceBundle |
rb
|
| Fields inherited from class jmri.util.JmriJFrame |
|---|
reuseFrameSavedPosition, reuseFrameSavedSized |
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
CarSetFrame()
|
|
| Method Summary | |
|---|---|
void |
buttonActionPerformed(ActionEvent ae)
|
protected boolean |
change(Car car)
|
void |
checkBoxActionPerformed(ActionEvent ae)
|
void |
comboBoxActionPerformed(ActionEvent ae)
|
void |
dispose()
When window is finally destroyed, remove it from the list of windows. |
protected void |
enableComponents(boolean enabled)
|
void |
initComponents()
By default, Swing components should be created an installed in this method, rather than in the ctor itself. |
void |
loadCar(Car car)
|
protected void |
packFrame()
|
void |
propertyChange(PropertyChangeEvent e)
|
protected boolean |
save()
|
protected void |
updateComboBoxes()
|
protected void |
updateFinalDestination()
|
protected void |
updateFinalDestinationComboBoxes()
|
protected boolean |
updateGroup(List<RollingStock> list)
|
protected void |
updateLoadComboBox()
|
protected void |
updateReturnWhenEmpty()
|
protected void |
updateTrainComboBox()
|
| Methods inherited from class jmri.jmrit.operations.rollingstock.RollingStockSetFrame |
|---|
change, getRb, load, updateDestination, updateLocation |
| Methods inherited from class jmri.jmrit.operations.OperationsFrame |
|---|
addButtonAction, addCheckBoxAction, addComboBoxAction, addItem, addItem, addItemLeft, addItemLeft, addItemWidth, addItemWidth, addRadioButtonAction, addSpinnerChangeListerner, getNumberOfCheckboxes, radioButtonActionPerformed, selectNextItemComboBox, spinnerChangeEvent |
| Methods inherited from class java.awt.Frame |
|---|
getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
protected static final ResourceBundle rb
protected JCheckBox ignoreLoadCheckBox
| Constructor Detail |
|---|
public CarSetFrame()
| Method Detail |
|---|
public void initComponents()
JmriJFrame
initComponents in class RollingStockSetFramepublic void loadCar(Car car)
protected void updateComboBoxes()
updateComboBoxes in class RollingStockSetFrameprotected void enableComponents(boolean enabled)
enableComponents in class RollingStockSetFramepublic void comboBoxActionPerformed(ActionEvent ae)
comboBoxActionPerformed in class RollingStockSetFramepublic void buttonActionPerformed(ActionEvent ae)
buttonActionPerformed in class RollingStockSetFrameprotected boolean save()
save in class RollingStockSetFrameprotected boolean change(Car car)
protected boolean updateGroup(List<RollingStock> list)
updateGroup in class RollingStockSetFramepublic void checkBoxActionPerformed(ActionEvent ae)
checkBoxActionPerformed in class RollingStockSetFrameprotected void updateReturnWhenEmpty()
protected void updateFinalDestination()
protected void updateFinalDestinationComboBoxes()
protected void updateLoadComboBox()
protected void updateTrainComboBox()
protected void packFrame()
packFrame in class RollingStockSetFramepublic void dispose()
JmriJFrameSubclasses that over-ride this method must invoke this implementation with super.dispose()
dispose in class RollingStockSetFramepublic void propertyChange(PropertyChangeEvent e)
propertyChange in interface PropertyChangeListenerpropertyChange in class RollingStockSetFrame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||