public class BlockInput extends InputDialog
Modifier and Type | Field and Description |
---|---|
javax.swing.ButtonGroup |
BlockTypeButtonGroup |
javax.swing.JLabel |
BlockTypeLabel |
javax.swing.JTextField |
BlockVelocity1Field |
java.util.ArrayList<javax.swing.JTextField> |
BlockVelocity1FieldList |
javax.swing.JLabel |
BlockVelocity1Label |
javax.swing.JTextField |
BlockVelocity2Field |
java.util.ArrayList<javax.swing.JTextField> |
BlockVelocity2FieldList |
javax.swing.JLabel |
BlockVelocity2Label |
javax.swing.JTextField |
BlockVelocity3Field |
java.util.ArrayList<javax.swing.JTextField> |
BlockVelocity3FieldList |
javax.swing.JLabel |
BlockVelocity3Label |
javax.swing.JRadioButton |
CommonBlockButton |
java.util.ArrayList<java.lang.Integer> |
CommonBlockIdList |
javax.swing.JComboBox |
commonloops |
javax.swing.JLabel |
commonloopsLabel |
javax.swing.JButton |
DoneButton |
java.util.ArrayList<java.lang.Integer> |
DownBlockIdList |
javax.swing.JComboBox |
downloops |
javax.swing.JLabel |
downloopsLabel |
javax.swing.JButton |
editBlock |
javax.swing.JTextField |
endkm1Field |
java.util.ArrayList<javax.swing.JTextField> |
endkm1FieldList |
javax.swing.JLabel |
endkm1Label |
javax.swing.JTextField |
endkm2Field |
java.util.ArrayList<javax.swing.JTextField> |
endkm2FieldList |
javax.swing.JLabel |
endkm2Label |
javax.swing.JTextField |
endkm3Field |
java.util.ArrayList<javax.swing.JTextField> |
endkm3FieldList |
javax.swing.JLabel |
endkm3Label |
int |
mesut |
java.lang.String |
NextStationName |
int |
ozil |
javax.swing.JLabel |
resultLabel |
javax.swing.JTextField |
Speedrestrictionendkm1Field |
java.util.ArrayList<javax.swing.JTextField> |
Speedrestrictionendkm1FieldList |
javax.swing.JLabel |
Speedrestrictionendkm1Label |
javax.swing.JTextField |
Speedrestrictionendkm2Field |
java.util.ArrayList<javax.swing.JTextField> |
Speedrestrictionendkm2FieldList |
javax.swing.JLabel |
Speedrestrictionendkm2Label |
javax.swing.JTextField |
Speedrestrictionendkm3Field |
java.util.ArrayList<javax.swing.JTextField> |
Speedrestrictionendkm3FieldList |
javax.swing.JLabel |
Speedrestrictionendkm3Label |
javax.swing.JTextField |
Speedrestrictionmaxspeed1Field |
java.util.ArrayList<javax.swing.JTextField> |
Speedrestrictionmaxspeed1FieldList |
javax.swing.JLabel |
Speedrestrictionmaxspeed1Label |
javax.swing.JTextField |
Speedrestrictionmaxspeed2Field |
java.util.ArrayList<javax.swing.JTextField> |
Speedrestrictionmaxspeed2FieldList |
javax.swing.JLabel |
Speedrestrictionmaxspeed2Label |
javax.swing.JTextField |
Speedrestrictionmaxspeed3Field |
java.util.ArrayList<javax.swing.JTextField> |
Speedrestrictionmaxspeed3FieldList |
javax.swing.JLabel |
Speedrestrictionmaxspeed3Label |
javax.swing.JTextField |
Speedrestrictionstartkm1Field |
java.util.ArrayList<javax.swing.JTextField> |
Speedrestrictionstartkm1FieldList |
javax.swing.JLabel |
Speedrestrictionstartkm1Label |
javax.swing.JTextField |
Speedrestrictionstartkm2Field |
java.util.ArrayList<javax.swing.JTextField> |
Speedrestrictionstartkm2FieldList |
javax.swing.JLabel |
Speedrestrictionstartkm2Label |
javax.swing.JTextField |
Speedrestrictionstartkm3Field |
java.util.ArrayList<javax.swing.JTextField> |
Speedrestrictionstartkm3FieldList |
javax.swing.JLabel |
Speedrestrictionstartkm3Label |
javax.swing.JTextField |
startkm1Field |
java.util.ArrayList<javax.swing.JTextField> |
startkm1FieldList |
javax.swing.JLabel |
startkm1Label |
javax.swing.JTextField |
startkm2Field |
java.util.ArrayList<javax.swing.JTextField> |
startkm2FieldList |
javax.swing.JLabel |
startkm2Label |
javax.swing.JTextField |
startkm3Field |
java.util.ArrayList<javax.swing.JTextField> |
startkm3FieldList |
javax.swing.JLabel |
startkm3Label |
javax.swing.JLabel |
stationinfoLabel |
java.lang.String |
StationName |
javax.swing.JComboBox |
stationno |
javax.swing.JButton |
Submit1Button |
javax.swing.JButton |
Submit2Button |
javax.swing.JLabel |
succedingno |
java.util.ArrayList<java.lang.Integer> |
UpBlockIdList |
javax.swing.JRadioButton |
UpDownBlockButton |
javax.swing.JComboBox |
uploops |
javax.swing.JLabel |
uploopsLabel |
javax.swing.JButton |
ViewAllBlockButton |
buttonHeight, buttonWidth, cancelButton, fieldHeight, fieldWidth, height, heightDifference, jpanel, labelHeight, labelWidth, okButton, width, x, x1, y, y1
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
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
BlockInput() |
Modifier and Type | Method and Description |
---|---|
void |
addComponents() |
static void |
main(java.lang.String[] args) |
void |
readBlocks(java.util.ArrayList<Block> blockList) |
void |
readLoops(java.util.ArrayList<Loop> loopList) |
void |
setComponentActionListeners() |
void |
setComponentBounds() |
void |
writeBlocks(java.util.ArrayList<Block> blockList) |
void |
writeLoops(java.util.ArrayList<Loop> loopList) |
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, 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, pack, paint, postEvent, 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
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, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, 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, getPeer, 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, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public javax.swing.JLabel stationinfoLabel
public javax.swing.JComboBox stationno
public javax.swing.JComboBox uploops
public javax.swing.JComboBox commonloops
public javax.swing.JComboBox downloops
public javax.swing.JLabel succedingno
public javax.swing.JLabel uploopsLabel
public javax.swing.JLabel downloopsLabel
public javax.swing.JLabel commonloopsLabel
public javax.swing.JButton Submit1Button
public javax.swing.JButton Submit2Button
public javax.swing.JButton DoneButton
public javax.swing.JButton ViewAllBlockButton
public javax.swing.JLabel resultLabel
public javax.swing.JLabel startkm1Label
public javax.swing.JLabel endkm1Label
public javax.swing.JLabel startkm2Label
public javax.swing.JLabel endkm2Label
public javax.swing.JLabel startkm3Label
public javax.swing.JLabel endkm3Label
public javax.swing.JLabel BlockVelocity1Label
public javax.swing.JLabel BlockVelocity2Label
public javax.swing.JLabel BlockVelocity3Label
public javax.swing.JLabel Speedrestrictionstartkm1Label
public javax.swing.JLabel Speedrestrictionendkm1Label
public javax.swing.JLabel Speedrestrictionmaxspeed1Label
public javax.swing.JLabel Speedrestrictionstartkm2Label
public javax.swing.JLabel Speedrestrictionendkm2Label
public javax.swing.JLabel Speedrestrictionmaxspeed2Label
public javax.swing.JLabel Speedrestrictionstartkm3Label
public javax.swing.JLabel Speedrestrictionendkm3Label
public javax.swing.JLabel Speedrestrictionmaxspeed3Label
public java.util.ArrayList<javax.swing.JTextField> startkm1FieldList
public java.util.ArrayList<javax.swing.JTextField> startkm2FieldList
public java.util.ArrayList<javax.swing.JTextField> startkm3FieldList
public java.util.ArrayList<javax.swing.JTextField> endkm1FieldList
public java.util.ArrayList<javax.swing.JTextField> endkm2FieldList
public java.util.ArrayList<javax.swing.JTextField> BlockVelocity1FieldList
public java.util.ArrayList<javax.swing.JTextField> BlockVelocity2FieldList
public java.util.ArrayList<javax.swing.JTextField> BlockVelocity3FieldList
public java.util.ArrayList<javax.swing.JTextField> Speedrestrictionstartkm1FieldList
public java.util.ArrayList<javax.swing.JTextField> Speedrestrictionendkm1FieldList
public java.util.ArrayList<javax.swing.JTextField> Speedrestrictionmaxspeed1FieldList
public java.util.ArrayList<javax.swing.JTextField> Speedrestrictionstartkm2FieldList
public java.util.ArrayList<javax.swing.JTextField> Speedrestrictionendkm2FieldList
public java.util.ArrayList<javax.swing.JTextField> Speedrestrictionmaxspeed2FieldList
public java.util.ArrayList<javax.swing.JTextField> Speedrestrictionstartkm3FieldList
public java.util.ArrayList<javax.swing.JTextField> Speedrestrictionendkm3FieldList
public java.util.ArrayList<javax.swing.JTextField> Speedrestrictionmaxspeed3FieldList
public java.util.ArrayList<javax.swing.JTextField> endkm3FieldList
public java.util.ArrayList<java.lang.Integer> UpBlockIdList
public java.util.ArrayList<java.lang.Integer> DownBlockIdList
public java.util.ArrayList<java.lang.Integer> CommonBlockIdList
public javax.swing.JTextField startkm1Field
public javax.swing.JTextField endkm1Field
public javax.swing.JTextField startkm2Field
public javax.swing.JTextField endkm2Field
public javax.swing.JTextField startkm3Field
public javax.swing.JTextField endkm3Field
public javax.swing.JTextField BlockVelocity1Field
public javax.swing.JTextField BlockVelocity2Field
public javax.swing.JTextField BlockVelocity3Field
public javax.swing.JTextField Speedrestrictionstartkm1Field
public javax.swing.JTextField Speedrestrictionendkm1Field
public javax.swing.JTextField Speedrestrictionmaxspeed1Field
public javax.swing.JTextField Speedrestrictionstartkm2Field
public javax.swing.JTextField Speedrestrictionendkm2Field
public javax.swing.JTextField Speedrestrictionmaxspeed2Field
public javax.swing.JTextField Speedrestrictionstartkm3Field
public javax.swing.JTextField Speedrestrictionendkm3Field
public javax.swing.JTextField Speedrestrictionmaxspeed3Field
public javax.swing.JRadioButton CommonBlockButton
public javax.swing.JRadioButton UpDownBlockButton
public javax.swing.ButtonGroup BlockTypeButtonGroup
public javax.swing.JLabel BlockTypeLabel
public java.lang.String StationName
public java.lang.String NextStationName
public int mesut
public int ozil
public javax.swing.JButton editBlock
public void addComponents()
addComponents
in class InputDialog
public void setComponentBounds()
setComponentBounds
in class InputDialog
public void setComponentActionListeners()
setComponentActionListeners
in class InputDialog
public static void main(java.lang.String[] args)
public void writeBlocks(java.util.ArrayList<Block> blockList) throws java.io.IOException
java.io.IOException
public void writeLoops(java.util.ArrayList<Loop> loopList) throws java.io.IOException
java.io.IOException
public void readBlocks(java.util.ArrayList<Block> blockList) throws java.io.IOException
java.io.IOException
public void readLoops(java.util.ArrayList<Loop> loopList) throws java.io.IOException
java.io.IOException