jmri.jmrit.beantable
Class TransitTableAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.beantable.AbstractTableAction
jmri.jmrit.beantable.TransitTableAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class TransitTableAction
- extends AbstractTableAction
Swing action to create and register a
TransitTable GUI.
- See Also:
- Serialized Form
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
| Methods inherited from class jmri.jmrit.beantable.AbstractTableAction |
actionPerformed, addToFrame, addToPanel, dispose, getPanel, getTableDataModel, includeAddButton, print, setFrame, setManager, setMenuBar, setMessagePreferencesDetails |
rbx
static final ResourceBundle rbx
addFrame
JmriJFrame addFrame
sysName
JTextField sysName
sysNameFixed
JLabel sysNameFixed
userName
JTextField userName
sysNameLabel
JLabel sysNameLabel
userNameLabel
JLabel userNameLabel
create
JButton create
update
JButton update
deleteSections
JButton deleteSections
primarySectionBox
JComboBox primarySectionBox
addNextSection
JButton addNextSection
removeLastSection
JButton removeLastSection
removeFirstSection
JButton removeFirstSection
insertAtBeginning
JButton insertAtBeginning
insertAtBeginningBox
JComboBox insertAtBeginningBox
seqNumLabel
JLabel seqNumLabel
seqNum
JTextField seqNum
replacePrimaryForSequence
JButton replacePrimaryForSequence
deleteAlternateForSequence
JButton deleteAlternateForSequence
addAlternateForSequence
JButton addAlternateForSequence
alternateSectionBox
JComboBox alternateSectionBox
addAlternateSection
JButton addAlternateSection
_autoSystemName
JCheckBox _autoSystemName
pref
UserPreferencesManager pref
systemNameAuto
String systemNameAuto
log
static final org.slf4j.Logger log
TransitTableAction
public TransitTableAction(String actionName)
- Create an action with a specific title.
- Parameters:
actionName -
TransitTableAction
public TransitTableAction()
createModel
protected void createModel()
- Create the JTable DataModel, along with the changes
for the specific case of Transit objects
- Specified by:
createModel in class AbstractTableAction
setTitle
protected void setTitle()
- Description copied from class:
AbstractTableAction
- Include the correct title
- Specified by:
setTitle in class AbstractTableAction
helpTarget
protected String helpTarget()
- Description copied from class:
AbstractTableAction
- Specify the JavaHelp target for this specific panel
- Overrides:
helpTarget in class AbstractTableAction
addPressed
protected void addPressed(ActionEvent e)
- Responds to the Add... button and the Edit buttons in Transit Table
- Specified by:
addPressed in class AbstractTableAction
editPressed
void editPressed(String sName)
duplicatePressed
void duplicatePressed(String sName)
addEditPressed
void addEditPressed()
addNextSectionPressed
void addNextSectionPressed(ActionEvent e)
removeLastSectionPressed
void removeLastSectionPressed(ActionEvent e)
insertAtBeginningPressed
void insertAtBeginningPressed(ActionEvent e)
removeFirstSectionPressed
void removeFirstSectionPressed(ActionEvent e)
replacePrimaryForSeqPressed
void replacePrimaryForSeqPressed(ActionEvent e)
inSectionList
boolean inSectionList(Section s,
ArrayList<Section> sList)
getSeqNum
int getSeqNum()
deleteAlternateForSeqPressed
void deleteAlternateForSeqPressed(ActionEvent e)
addAlternateForSeqPressed
void addAlternateForSeqPressed(ActionEvent e)
addAlternateSectionPressed
void addAlternateSectionPressed(ActionEvent e)
createPressed
void createPressed(ActionEvent e)
cancelPressed
void cancelPressed(ActionEvent e)
updatePressed
void updatePressed(ActionEvent e)
getClassName
protected String getClassName()
- Specified by:
getClassName in class AbstractTableAction
getClassDescription
public String getClassDescription()
- Overrides:
getClassDescription in class AbstractTableAction
Copyright © 1997-2013 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: