Package jmri.jmrit.ctc.editor.code
Class Columns
- java.lang.Object
-
- jmri.jmrit.ctc.editor.code.Columns
-
public class Columns extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REFERENCES_PRESENT_INDICATOR
-
Constructor Summary
Constructors Constructor Description Columns(CTCSerialData ctcSerialData, CheckJMRIObject checkJMRIObject, javax.swing.DefaultListModel<java.lang.String> defaultListModel, javax.swing.JButton deleteButton, javax.swing.JButton changeNumbersButton, javax.swing.JButton moveUpButton, javax.swing.JButton moveDownButton, javax.swing.JLabel edit_CB_Prompt, javax.swing.JLabel cb_EditAlwaysEnabled, javax.swing.JButton edit_CB, javax.swing.JLabel edit_SIDI_Prompt, javax.swing.JCheckBox sidi_Enabled, javax.swing.JButton edit_SIDI, javax.swing.JLabel edit_SIDL_Prompt, javax.swing.JCheckBox sidl_Enabled, javax.swing.JButton edit_SIDL, javax.swing.JLabel edit_SWDI_Prompt, javax.swing.JCheckBox swdi_Enabled, javax.swing.JButton edit_SWDI, javax.swing.JLabel edit_SWDL_Prompt, javax.swing.JCheckBox swdl_Enabled, javax.swing.JButton edit_SWDL, javax.swing.JLabel edit_CO_Prompt, javax.swing.JCheckBox co_Enabled, javax.swing.JButton edit_CO, javax.swing.JLabel edit_TRL_Prompt, javax.swing.JCheckBox trl_Enabled, javax.swing.JButton edit_TRL, javax.swing.JLabel edit_TUL_Prompt, javax.swing.JCheckBox tul_Enabled, javax.swing.JButton edit_TUL, javax.swing.JLabel edit_IL_Prompt, javax.swing.JCheckBox il_Enabled, javax.swing.JButton edit_IL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
anyErrorsPresent()
java.lang.String
checkForDups(int newSwitchNumber, int newGUIColumnNumber, boolean isModify, int indexModifying)
void
clearCurrentlySelectedColumnErrorStatus()
void
co_EnabledClicked(boolean newState)
void
fixAllErrors()
int
getEntrySelectedIndex()
CodeButtonHandlerData
getSelectedCodeButtonHandlerData()
void
il_EnabledClicked(boolean newState)
void
setEntrySelected(int selectedIndex)
void
sidi_EnabledClicked(boolean newState)
void
sidl_EnabledClicked(boolean newState)
void
swdi_EnabledClicked(boolean newState)
void
swdl_EnabledClicked(boolean newState)
void
trl_EnabledClicked(boolean newState)
void
tul_EnabledClicked(boolean newState)
void
updateCurrentlySelectedColumnErrorStatus()
void
updateFrame()
-
-
-
Field Detail
-
REFERENCES_PRESENT_INDICATOR
public static final java.lang.String REFERENCES_PRESENT_INDICATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Columns
public Columns(CTCSerialData ctcSerialData, CheckJMRIObject checkJMRIObject, javax.swing.DefaultListModel<java.lang.String> defaultListModel, javax.swing.JButton deleteButton, javax.swing.JButton changeNumbersButton, javax.swing.JButton moveUpButton, javax.swing.JButton moveDownButton, javax.swing.JLabel edit_CB_Prompt, javax.swing.JLabel cb_EditAlwaysEnabled, javax.swing.JButton edit_CB, javax.swing.JLabel edit_SIDI_Prompt, javax.swing.JCheckBox sidi_Enabled, javax.swing.JButton edit_SIDI, javax.swing.JLabel edit_SIDL_Prompt, javax.swing.JCheckBox sidl_Enabled, javax.swing.JButton edit_SIDL, javax.swing.JLabel edit_SWDI_Prompt, javax.swing.JCheckBox swdi_Enabled, javax.swing.JButton edit_SWDI, javax.swing.JLabel edit_SWDL_Prompt, javax.swing.JCheckBox swdl_Enabled, javax.swing.JButton edit_SWDL, javax.swing.JLabel edit_CO_Prompt, javax.swing.JCheckBox co_Enabled, javax.swing.JButton edit_CO, javax.swing.JLabel edit_TRL_Prompt, javax.swing.JCheckBox trl_Enabled, javax.swing.JButton edit_TRL, javax.swing.JLabel edit_TUL_Prompt, javax.swing.JCheckBox tul_Enabled, javax.swing.JButton edit_TUL, javax.swing.JLabel edit_IL_Prompt, javax.swing.JCheckBox il_Enabled, javax.swing.JButton edit_IL)
-
-
Method Detail
-
getSelectedCodeButtonHandlerData
public CodeButtonHandlerData getSelectedCodeButtonHandlerData()
-
updateFrame
public final void updateFrame()
-
getEntrySelectedIndex
public int getEntrySelectedIndex()
-
fixAllErrors
public void fixAllErrors()
-
anyErrorsPresent
public boolean anyErrorsPresent()
-
updateCurrentlySelectedColumnErrorStatus
public void updateCurrentlySelectedColumnErrorStatus()
-
clearCurrentlySelectedColumnErrorStatus
public void clearCurrentlySelectedColumnErrorStatus()
-
setEntrySelected
public void setEntrySelected(int selectedIndex)
-
sidi_EnabledClicked
public void sidi_EnabledClicked(boolean newState)
-
sidl_EnabledClicked
public void sidl_EnabledClicked(boolean newState)
-
swdi_EnabledClicked
public void swdi_EnabledClicked(boolean newState)
-
swdl_EnabledClicked
public void swdl_EnabledClicked(boolean newState)
-
co_EnabledClicked
public void co_EnabledClicked(boolean newState)
-
trl_EnabledClicked
public void trl_EnabledClicked(boolean newState)
-
tul_EnabledClicked
public void tul_EnabledClicked(boolean newState)
-
il_EnabledClicked
public void il_EnabledClicked(boolean newState)
-
checkForDups
public java.lang.String checkForDups(int newSwitchNumber, int newGUIColumnNumber, boolean isModify, int indexModifying)
-
-