jmri.jmrit.beantable
Class SignalMastTableAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.beantable.AbstractTableAction
jmri.jmrit.beantable.SignalMastTableAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class SignalMastTableAction
- extends AbstractTableAction
Swing action to create and register a
SignalMastTable GUI.
- Author:
- Bob Jacobsen Copyright (C) 2003, 2009, 2010
- 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 |
addToFrame, addToPanel, dispose, getPanel, getTableDataModel, makeJTable, print, setFrame, setManager, setMenuBar, setMessagePreferencesDetails |
SignalMastTableAction
public SignalMastTableAction(String actionName)
- Create an action with a specific title.
Note that the argument is the Action title, not the title of the
resulting frame. Perhaps this should be changed?
- Parameters:
actionName -
SignalMastTableAction
public SignalMastTableAction()
createModel
protected void createModel()
- Create the JTable DataModel, along with the changes
for the specific case of Sensors
- 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
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed in interface ActionListener- Overrides:
actionPerformed in class AbstractTableAction
addPressed
protected void addPressed(ActionEvent e)
- Specified by:
addPressed in class AbstractTableAction
getClassName
protected String getClassName()
- Specified by:
getClassName in class AbstractTableAction
getClassDescription
public String getClassDescription()
- Overrides:
getClassDescription in class AbstractTableAction
Copyright © 1997 - 2011 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: