|
||||||||||
| 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.jmrix.grapevine.nodeconfig.NodeConfigFrame
public class NodeConfigFrame
Frame for user configuration of serial nodes
| 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 JButton |
addButton
|
protected JButton |
cancelButton
|
protected boolean |
changedNode
|
protected SerialNode |
curNode
|
protected JButton |
deleteButton
|
protected JButton |
doneButton
|
protected JButton |
editButton
|
protected boolean |
editMode
|
protected String |
editStatus1
|
protected String |
editStatus2
|
protected String |
editStatus3
|
protected boolean |
errorInStatus1
|
protected boolean |
errorInStatus2
|
protected JButton |
initButton
|
protected int |
nodeAddress
|
protected JTextField |
nodeAddrField
|
protected JLabel |
nodeAddrStatic
|
protected int |
nodeType
|
protected JComboBox |
nodeTypeBox
|
protected JLabel |
statusText1
|
protected JLabel |
statusText2
|
protected JLabel |
statusText3
|
protected String |
stdStatus1
|
protected String |
stdStatus2
|
protected String |
stdStatus3
|
protected JButton |
updateButton
|
| 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 | |
|---|---|
NodeConfigFrame()
Constructor method |
|
| Method Summary | |
|---|---|
void |
addButtonActionPerformed()
Method to handle add button |
void |
cancelButtonActionPerformed()
Method to handle cancel button |
void |
deleteButtonActionPerformed()
Method to handle delete button |
void |
doneButtonActionPerformed()
Method to handle done button |
void |
editButtonActionPerformed()
Method to handle edit button |
void |
initButtonActionPerformed()
Method to handle init button |
void |
initComponents()
Initialize the config window |
void |
setNodeAddress(int node)
Set the node number |
void |
updateButtonActionPerformed()
Method to handle update button |
void |
windowClosing(WindowEvent e)
Do the done action if the window is closed early. |
| 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 JTextField nodeAddrField
protected JLabel nodeAddrStatic
protected JComboBox nodeTypeBox
protected JButton addButton
protected JButton editButton
protected JButton deleteButton
protected JButton initButton
protected JButton doneButton
protected JButton updateButton
protected JButton cancelButton
protected JLabel statusText1
protected JLabel statusText2
protected JLabel statusText3
protected boolean changedNode
protected boolean editMode
protected SerialNode curNode
protected int nodeAddress
protected int nodeType
protected boolean errorInStatus1
protected boolean errorInStatus2
protected String stdStatus1
protected String stdStatus2
protected String stdStatus3
protected String editStatus1
protected String editStatus2
protected String editStatus3
| Constructor Detail |
|---|
public NodeConfigFrame()
| Method Detail |
|---|
public void initComponents()
initComponents in class JmriJFramepublic void setNodeAddress(int node)
public void addButtonActionPerformed()
public void editButtonActionPerformed()
public void initButtonActionPerformed()
public void deleteButtonActionPerformed()
public void doneButtonActionPerformed()
public void updateButtonActionPerformed()
public void cancelButtonActionPerformed()
public void windowClosing(WindowEvent e)
windowClosing in interface WindowListenerwindowClosing in class JmriJFrame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||