Package jmri.jmrit.display.layoutEditor
Class LayoutSlipView.TurnoutState
- java.lang.Object
-
- jmri.jmrit.display.layoutEditor.LayoutSlipView.TurnoutState
-
- Enclosing class:
- LayoutSlipView
public static class LayoutSlipView.TurnoutState extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TurnoutState(int turnoutA, int turnoutB)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
javax.swing.JComboBox<java.lang.String>
getComboA()
javax.swing.JComboBox<java.lang.String>
getComboB()
int
getTestTurnoutAState()
int
getTestTurnoutBState()
int
getTurnoutAState()
int
getTurnoutBState()
int
hashCode()
Hash on the headervoid
setTurnoutAState(int state)
void
setTurnoutBState(int state)
void
updateStatesFromCombo()
-
-
-
Constructor Detail
-
TurnoutState
TurnoutState(int turnoutA, int turnoutB)
-
-
Method Detail
-
getTurnoutAState
public int getTurnoutAState()
-
getTurnoutBState
public int getTurnoutBState()
-
setTurnoutAState
public void setTurnoutAState(int state)
-
setTurnoutBState
public void setTurnoutBState(int state)
-
getComboA
public javax.swing.JComboBox<java.lang.String> getComboA()
-
getComboB
public javax.swing.JComboBox<java.lang.String> getComboB()
-
getTestTurnoutAState
public int getTestTurnoutAState()
-
getTestTurnoutBState
public int getTestTurnoutBState()
-
updateStatesFromCombo
public void updateStatesFromCombo()
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Hash on the header- Overrides:
hashCode
in classjava.lang.Object
-
-