Package jmri.jmrit.operations.trains
Class TrainEditBuildOptionsFrame
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Window
-
- java.awt.Frame
-
- javax.swing.JFrame
-
- jmri.util.JmriJFrame
-
- jmri.jmrit.operations.OperationsFrame
-
- jmri.jmrit.operations.trains.TrainEditBuildOptionsFrame
-
- All Implemented Interfaces:
java.awt.event.ComponentListener
,java.awt.event.WindowListener
,java.awt.image.ImageObserver
,java.awt.MenuContainer
,java.beans.PropertyChangeListener
,java.io.Serializable
,java.util.EventListener
,javax.accessibility.Accessible
,javax.swing.RootPaneContainer
,javax.swing.WindowConstants
,BeanInterface
,ModifiedFlag
,WindowInterface
public class TrainEditBuildOptionsFrame extends OperationsFrame implements java.beans.PropertyChangeListener
Frame for user edit of a train's build options- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.util.JmriJFrame
JmriJFrame.ScreenDimensions
-
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
-
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
-
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
-
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
-
Nested classes/interfaces inherited from interface jmri.util.swing.WindowInterface
WindowInterface.Hint
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Train
_train
(package private) javax.swing.JRadioButton
add1Engine
(package private) javax.swing.JRadioButton
add2Engine
(package private) javax.swing.JButton
addOwnerButton
(package private) javax.swing.JLabel
after
(package private) javax.swing.JCheckBox
allowLocalMovesCheckBox
(package private) javax.swing.JCheckBox
allowThroughCarsCheckBox
(package private) javax.swing.JLabel
before
(package private) javax.swing.JCheckBox
buildConsistCheckBox
(package private) javax.swing.JCheckBox
buildNormalCheckBox
(package private) javax.swing.JTextField
builtAfterTextField
(package private) javax.swing.JTextField
builtBeforeTextField
(package private) javax.swing.JRadioButton
builtDateAfter
(package private) javax.swing.JRadioButton
builtDateAll
(package private) javax.swing.JRadioButton
builtDateBefore
(package private) javax.swing.JRadioButton
builtDateRange
(package private) javax.swing.ButtonGroup
builtGroup
(package private) javax.swing.JScrollPane
builtPane
(package private) javax.swing.ButtonGroup
cabooseOption1Group
(package private) javax.swing.ButtonGroup
cabooseOption2Group
(package private) javax.swing.JRadioButton
change1Caboose
(package private) javax.swing.JRadioButton
change1Engine
(package private) javax.swing.JRadioButton
change2Caboose
(package private) javax.swing.JRadioButton
change2Engine
(package private) javax.swing.JButton
deleteOwnerButton
static java.lang.String
DISPOSE
(package private) javax.swing.JPanel
engine1caboose
(package private) javax.swing.JPanel
engine1DropOption
(package private) javax.swing.JPanel
engine1Option
(package private) javax.swing.JPanel
engine2caboose
(package private) javax.swing.JPanel
engine2DropOption
(package private) javax.swing.JPanel
engine2Option
(package private) javax.swing.JRadioButton
helper1Service
(package private) javax.swing.JRadioButton
helper2Service
(package private) javax.swing.JRadioButton
keep1Caboose
(package private) javax.swing.JRadioButton
keep2Caboose
(package private) javax.swing.JComboBox<java.lang.String>
modelEngine1Box
(package private) javax.swing.JComboBox<java.lang.String>
modelEngine2Box
(package private) javax.swing.JRadioButton
modify1Caboose
(package private) javax.swing.JRadioButton
modify2Caboose
(package private) javax.swing.JRadioButton
none1
(package private) javax.swing.JRadioButton
none2
(package private) javax.swing.JComboBox<java.lang.String>
numEngines1Box
(package private) javax.swing.JComboBox<java.lang.String>
numEngines2Box
(package private) javax.swing.JComboBox<java.lang.String>
ownerBox
(package private) javax.swing.ButtonGroup
ownerGroup
(package private) javax.swing.JRadioButton
ownerNameAll
(package private) javax.swing.JRadioButton
ownerNameExclude
(package private) javax.swing.JRadioButton
ownerNameInclude
(package private) javax.swing.JScrollPane
ownerPane
(package private) javax.swing.JPanel
panelBuilt
(package private) javax.swing.JPanel
panelOwnerNames
(package private) javax.swing.JPanel
panelTrainReq1
(package private) javax.swing.JPanel
panelTrainReq2
(package private) javax.swing.JRadioButton
remove1Caboose
(package private) javax.swing.JRadioButton
remove1Engine
(package private) javax.swing.JRadioButton
remove2Caboose
(package private) javax.swing.JRadioButton
remove2Engine
(package private) javax.swing.JCheckBox
returnStagingCheckBox
(package private) javax.swing.JComboBox<java.lang.String>
roadCaboose1Box
(package private) javax.swing.JComboBox<java.lang.String>
roadCaboose2Box
(package private) javax.swing.JComboBox<java.lang.String>
roadEngine1Box
(package private) javax.swing.JComboBox<java.lang.String>
roadEngine2Box
(package private) javax.swing.JComboBox<RouteLocation>
routeDrop1Box
(package private) javax.swing.JComboBox<RouteLocation>
routeDrop2Box
(package private) javax.swing.JComboBox<RouteLocation>
routePickup1Box
(package private) javax.swing.JComboBox<RouteLocation>
routePickup2Box
(package private) javax.swing.JButton
saveTrainButton
(package private) javax.swing.JCheckBox
sendCustomStagngCheckBox
(package private) javax.swing.JCheckBox
sendToTerminalCheckBox
(package private) javax.swing.JCheckBox
serviceAllCarsCheckBox
(package private) javax.swing.JLabel
trainDescription
(package private) javax.swing.JLabel
trainName
(package private) javax.swing.ButtonGroup
trainReq1Group
(package private) javax.swing.JScrollPane
trainReq1Pane
(package private) javax.swing.ButtonGroup
trainReq2Group
(package private) javax.swing.JScrollPane
trainReq2Pane
-
Fields inherited from class jmri.jmrit.operations.OperationsFrame
NEW_LINE, NONE
-
Fields inherited from class jmri.util.JmriJFrame
allowInFrameServlet, properties, reuseFrameSavedPosition, reuseFrameSavedSized, windowInterface
-
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
-
-
Constructor Summary
Constructors Constructor Description TrainEditBuildOptionsFrame()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buttonActionPerformed(java.awt.event.ActionEvent ae)
void
comboBoxActionPerformed(java.awt.event.ActionEvent ae)
void
dispose()
When window is finally destroyed, remove it from the list of windows.void
initComponents(TrainEditFrame parent)
void
propertyChange(java.beans.PropertyChangeEvent e)
void
radioButtonActionPerformed(java.awt.event.ActionEvent ae)
-
Methods inherited from class jmri.jmrit.operations.OperationsFrame
addButtonAction, addCheckBoxAction, addComboBoxAction, addHorizontalScrollBarKludgeFix, addItem, addItem, addItemLeft, addItemTop, addItemWidth, addRadioButtonAction, addSpinnerChangeListerner, adjustTextAreaColumnWidth, adjustTextAreaColumnWidth, checkBoxActionPerformed, clearTableSort, createShutDownTask, getContentPane, getNumberOfCheckboxesPerLine, initComponents, initMinimumSize, initMinimumSize, loadTableDetails, selectNextItemComboBox, setContentPane, spinnerChangeEvent, storeValues
-
Methods inherited from class jmri.util.JmriJFrame
addHelpMenu, componentHidden, componentMoved, componentResized, componentShown, generateWindowRef, getAllowInFrameServlet, getEscapeKeyAction, getEscapeKeyClosesWindow, getFrame, getFrame, getFrameList, getFrameList, getIndexedProperty, getMaximumSize, getModifiedFlag, getPreferredSize, getProperty, getPropertyNames, getSavePosition, getSaveSize, getScreenDimensions, getWindowFrameRef, getWindowInterface, handleModified, hasIndexedProperty, hasProperty, makePrivateWindow, markWindowModified, multipleInstances, pack, setAllowInFrameServlet, setEscapeKeyAction, setEscapeKeyClosesWindow, setFrameLocation, setIndexedProperty, setModifiedFlag, setProperty, setSavePosition, setSaveSize, setShutDownTask, setWindowInterface, show, show, undecorate, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
-
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
-
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
-
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMinimumSize, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Field Detail
-
panelOwnerNames
javax.swing.JPanel panelOwnerNames
-
panelBuilt
javax.swing.JPanel panelBuilt
-
panelTrainReq1
javax.swing.JPanel panelTrainReq1
-
panelTrainReq2
javax.swing.JPanel panelTrainReq2
-
ownerPane
javax.swing.JScrollPane ownerPane
-
builtPane
javax.swing.JScrollPane builtPane
-
trainReq1Pane
javax.swing.JScrollPane trainReq1Pane
-
trainReq2Pane
javax.swing.JScrollPane trainReq2Pane
-
engine1Option
javax.swing.JPanel engine1Option
-
engine1DropOption
javax.swing.JPanel engine1DropOption
-
engine1caboose
javax.swing.JPanel engine1caboose
-
engine2Option
javax.swing.JPanel engine2Option
-
engine2DropOption
javax.swing.JPanel engine2DropOption
-
engine2caboose
javax.swing.JPanel engine2caboose
-
trainName
javax.swing.JLabel trainName
-
trainDescription
javax.swing.JLabel trainDescription
-
before
javax.swing.JLabel before
-
after
javax.swing.JLabel after
-
addOwnerButton
javax.swing.JButton addOwnerButton
-
deleteOwnerButton
javax.swing.JButton deleteOwnerButton
-
saveTrainButton
javax.swing.JButton saveTrainButton
-
ownerNameAll
javax.swing.JRadioButton ownerNameAll
-
ownerNameInclude
javax.swing.JRadioButton ownerNameInclude
-
ownerNameExclude
javax.swing.JRadioButton ownerNameExclude
-
builtDateAll
javax.swing.JRadioButton builtDateAll
-
builtDateAfter
javax.swing.JRadioButton builtDateAfter
-
builtDateBefore
javax.swing.JRadioButton builtDateBefore
-
builtDateRange
javax.swing.JRadioButton builtDateRange
-
ownerGroup
javax.swing.ButtonGroup ownerGroup
-
builtGroup
javax.swing.ButtonGroup builtGroup
-
none1
javax.swing.JRadioButton none1
-
change1Engine
javax.swing.JRadioButton change1Engine
-
add1Engine
javax.swing.JRadioButton add1Engine
-
remove1Engine
javax.swing.JRadioButton remove1Engine
-
modify1Caboose
javax.swing.JRadioButton modify1Caboose
-
helper1Service
javax.swing.JRadioButton helper1Service
-
remove1Caboose
javax.swing.JRadioButton remove1Caboose
-
keep1Caboose
javax.swing.JRadioButton keep1Caboose
-
change1Caboose
javax.swing.JRadioButton change1Caboose
-
trainReq1Group
javax.swing.ButtonGroup trainReq1Group
-
cabooseOption1Group
javax.swing.ButtonGroup cabooseOption1Group
-
none2
javax.swing.JRadioButton none2
-
change2Engine
javax.swing.JRadioButton change2Engine
-
add2Engine
javax.swing.JRadioButton add2Engine
-
remove2Engine
javax.swing.JRadioButton remove2Engine
-
modify2Caboose
javax.swing.JRadioButton modify2Caboose
-
helper2Service
javax.swing.JRadioButton helper2Service
-
remove2Caboose
javax.swing.JRadioButton remove2Caboose
-
keep2Caboose
javax.swing.JRadioButton keep2Caboose
-
change2Caboose
javax.swing.JRadioButton change2Caboose
-
trainReq2Group
javax.swing.ButtonGroup trainReq2Group
-
cabooseOption2Group
javax.swing.ButtonGroup cabooseOption2Group
-
buildNormalCheckBox
javax.swing.JCheckBox buildNormalCheckBox
-
sendToTerminalCheckBox
javax.swing.JCheckBox sendToTerminalCheckBox
-
returnStagingCheckBox
javax.swing.JCheckBox returnStagingCheckBox
-
allowLocalMovesCheckBox
javax.swing.JCheckBox allowLocalMovesCheckBox
-
allowThroughCarsCheckBox
javax.swing.JCheckBox allowThroughCarsCheckBox
-
serviceAllCarsCheckBox
javax.swing.JCheckBox serviceAllCarsCheckBox
-
sendCustomStagngCheckBox
javax.swing.JCheckBox sendCustomStagngCheckBox
-
buildConsistCheckBox
javax.swing.JCheckBox buildConsistCheckBox
-
builtAfterTextField
javax.swing.JTextField builtAfterTextField
-
builtBeforeTextField
javax.swing.JTextField builtBeforeTextField
-
ownerBox
javax.swing.JComboBox<java.lang.String> ownerBox
-
routePickup1Box
javax.swing.JComboBox<RouteLocation> routePickup1Box
-
routeDrop1Box
javax.swing.JComboBox<RouteLocation> routeDrop1Box
-
roadCaboose1Box
javax.swing.JComboBox<java.lang.String> roadCaboose1Box
-
roadEngine1Box
javax.swing.JComboBox<java.lang.String> roadEngine1Box
-
modelEngine1Box
javax.swing.JComboBox<java.lang.String> modelEngine1Box
-
numEngines1Box
javax.swing.JComboBox<java.lang.String> numEngines1Box
-
routePickup2Box
javax.swing.JComboBox<RouteLocation> routePickup2Box
-
routeDrop2Box
javax.swing.JComboBox<RouteLocation> routeDrop2Box
-
roadCaboose2Box
javax.swing.JComboBox<java.lang.String> roadCaboose2Box
-
roadEngine2Box
javax.swing.JComboBox<java.lang.String> roadEngine2Box
-
modelEngine2Box
javax.swing.JComboBox<java.lang.String> modelEngine2Box
-
numEngines2Box
javax.swing.JComboBox<java.lang.String> numEngines2Box
-
DISPOSE
public static final java.lang.String DISPOSE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TrainEditBuildOptionsFrame
public TrainEditBuildOptionsFrame()
-
-
Method Detail
-
initComponents
public void initComponents(TrainEditFrame parent)
-
buttonActionPerformed
public void buttonActionPerformed(java.awt.event.ActionEvent ae)
- Overrides:
buttonActionPerformed
in classOperationsFrame
-
radioButtonActionPerformed
public void radioButtonActionPerformed(java.awt.event.ActionEvent ae)
- Overrides:
radioButtonActionPerformed
in classOperationsFrame
-
comboBoxActionPerformed
public void comboBoxActionPerformed(java.awt.event.ActionEvent ae)
- Overrides:
comboBoxActionPerformed
in classOperationsFrame
-
dispose
public void dispose()
Description copied from class:JmriJFrame
When window is finally destroyed, remove it from the list of windows.Subclasses that over-ride this method must invoke this implementation with super.dispose() right before returning.
- Specified by:
dispose
in interfaceWindowInterface
- Overrides:
dispose
in classOperationsFrame
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
-