Package jmri.jmrit.beantable
Class RailComTableAction
- java.lang.Object
- 
- javax.swing.AbstractAction
- 
- jmri.jmrit.beantable.AbstractTableAction<IdTag>
- 
- jmri.jmrit.beantable.RailComTableAction
 
 
 
- 
- All Implemented Interfaces:
- java.awt.event.ActionListener,- java.io.Serializable,- java.lang.Cloneable,- java.util.EventListener,- javax.swing.Action
 
 public class RailComTableAction extends AbstractTableAction<IdTag> Swing action to create and register a RailCommTable GUI.- Since:
- 2.11.4
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jmri.jmrit.beantable.AbstractTableActionAbstractTableAction.TableItem<E extends NamedBean>
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected RailComManagertagManager- 
Fields inherited from class jmri.jmrit.beantable.AbstractTableActionf, includeAddButton, m
 
- 
 - 
Constructor SummaryConstructors Constructor Description RailComTableAction()RailComTableAction(java.lang.String actionName)Create an action with a specific title.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddPressed(java.awt.event.ActionEvent e)voidaddToFrame(BeanTableFrame<IdTag> f)Allow subclasses to add to the frame without having to actually subclass the BeanTableDataFrame.voidaddToPanel(AbstractTableTabAction<IdTag> f)If the subClass is being included in a greater tabbed frame, then this method is used to add the details to the tabbed frame.protected voidcreateModel()Create the JTable DataModel, along with the changes for the specific case of RailComm objectsjava.lang.StringgetClassDescription()protected java.lang.StringgetClassName()protected java.lang.StringhelpTarget()Specify the JavaHelp target for this specific panel.protected voidsetTitle()Include the correct title.- 
Methods inherited from class jmri.jmrit.beantable.AbstractTableActionactionPerformed, addBottomButtons, addToFrame, columnsVisibleUpdated, configureManagerComboBox, configureTable, displayHwError, dispose, getDataModel, getFrame, getManager, getPanel, getTableDataModel, includeAddButton, nextName, print, removePrefixBoxListener, setFrame, setManager, setMenuBar, setMessagePreferencesDetails
 - 
Methods inherited from class javax.swing.AbstractActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
- 
 
- 
- 
- 
Field Detail- 
tagManager@Nonnull protected RailComManager tagManager 
 
- 
 - 
Constructor Detail- 
RailComTableActionpublic RailComTableAction(java.lang.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- title of the action
 
 - 
RailComTableActionpublic RailComTableAction() 
 
- 
 - 
Method Detail- 
createModelprotected void createModel() Create the JTable DataModel, along with the changes for the specific case of RailComm objects- Specified by:
- createModelin class- AbstractTableAction<IdTag>
 
 - 
setTitleprotected void setTitle() Description copied from class:AbstractTableActionInclude the correct title.- Specified by:
- setTitlein class- AbstractTableAction<IdTag>
 
 - 
helpTargetprotected java.lang.String helpTarget() Description copied from class:AbstractTableActionSpecify the JavaHelp target for this specific panel.- Overrides:
- helpTargetin class- AbstractTableAction<IdTag>
- Returns:
- a fixed default string "index" pointing to to highest level in JMRI Help
 
 - 
addPressedprotected void addPressed(java.awt.event.ActionEvent e) - Specified by:
- addPressedin class- AbstractTableAction<IdTag>
 
 - 
getClassDescriptionpublic java.lang.String getClassDescription() - Overrides:
- getClassDescriptionin class- AbstractTableAction<IdTag>
 
 - 
addToFramepublic void addToFrame(BeanTableFrame<IdTag> f) Description copied from class:AbstractTableActionAllow subclasses to add to the frame without having to actually subclass the BeanTableDataFrame.- Overrides:
- addToFramein class- AbstractTableAction<IdTag>
- Parameters:
- f- the Frame to add to
 
 - 
addToPanelpublic void addToPanel(AbstractTableTabAction<IdTag> f) Description copied from class:AbstractTableActionIf the subClass is being included in a greater tabbed frame, then this method is used to add the details to the tabbed frame.- Overrides:
- addToPanelin class- AbstractTableAction<IdTag>
- Parameters:
- f- AbstractTableTabAction for the containing frame containing these and other tabs
 
 - 
getClassNameprotected java.lang.String getClassName() - Specified by:
- getClassNamein class- AbstractTableAction<IdTag>
 
 
- 
 
-