Class EcosLocoTableTabAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.beantable.AbstractTableAction<E>
-
- jmri.jmrit.beantable.AbstractTableTabAction<NamedBean>
-
- jmri.jmrix.ecos.swing.locodatabase.EcosLocoTableTabAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class EcosLocoTableTabAction extends AbstractTableTabAction<NamedBean>
There is no specific subtype of NamedBean here, see EcosLocoAddressManager.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrit.beantable.AbstractTableTabAction
AbstractTableTabAction.TabbedTableItem<E extends NamedBean>
-
Nested classes/interfaces inherited from class jmri.jmrit.beantable.AbstractTableAction
AbstractTableAction.TableItem<E extends NamedBean>
-
-
Field Summary
-
Fields inherited from class jmri.jmrit.beantable.AbstractTableTabAction
dataTabs, init, tabbedTableArray
-
Fields inherited from class jmri.jmrit.beantable.AbstractTableAction
f, includeAddButton, m
-
-
Constructor Summary
Constructors Constructor Description EcosLocoTableTabAction()EcosLocoTableTabAction(java.lang.String s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToFrame(BeanTableFrame<NamedBean> f)Allow subclasses to add to the frame without having to actually subclass the BeanTableDataFrame.protected voidcreateModel()Create the JTable DataModel, along with the changes for the specific NamedBean type.java.lang.StringgetClassDescription()protected java.lang.StringgetClassName()protected Manager<NamedBean>getManager()Get the Bean Manager in use by the TableAction.protected AbstractTableAction<NamedBean>getNewTableAction(java.lang.String choice)protected AbstractTableAction<NamedBean>getNewTableAction(java.lang.String choice, EcosSystemConnectionMemo eMemo)protected java.lang.StringhelpTarget()Specify the JavaHelp target for this specific panel.voidsetMenuBar(BeanTableFrame<NamedBean> f)Allow subclasses to alter the frame's Menubar without having to actually subclass the BeanTableDataFrame.protected voidsetTitle()Include the correct title.-
Methods inherited from class jmri.jmrit.beantable.AbstractTableTabAction
addPressed, addToBottomBox, dispose, getDataModel, getPanel, print
-
Methods inherited from class jmri.jmrit.beantable.AbstractTableAction
actionPerformed, addBottomButtons, addToFrame, addToPanel, columnsVisibleUpdated, configureManagerComboBox, configureTable, displayHwError, getFrame, getTableDataModel, includeAddButton, nextName, removePrefixBoxListener, setFrame, setManager, setMessagePreferencesDetails
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
EcosLocoTableTabAction
public EcosLocoTableTabAction(java.lang.String s)
-
EcosLocoTableTabAction
public EcosLocoTableTabAction()
-
-
Method Detail
-
createModel
protected void createModel()
Description copied from class:AbstractTableActionCreate the JTable DataModel, along with the changes for the specific NamedBean type.- Overrides:
createModelin classAbstractTableTabAction<NamedBean>
-
getNewTableAction
protected AbstractTableAction<NamedBean> getNewTableAction(java.lang.String choice)
- Specified by:
getNewTableActionin classAbstractTableTabAction<NamedBean>
-
getNewTableAction
protected AbstractTableAction<NamedBean> getNewTableAction(java.lang.String choice, EcosSystemConnectionMemo eMemo)
-
getManager
protected Manager<NamedBean> getManager()
Description copied from class:AbstractTableActionGet the Bean Manager in use by the TableAction.- Specified by:
getManagerin classAbstractTableTabAction<NamedBean>- Returns:
- Bean Manager, could be Proxy or normal Manager, may be null.
-
addToFrame
public void addToFrame(BeanTableFrame<NamedBean> f)
Description copied from class:AbstractTableActionAllow subclasses to add to the frame without having to actually subclass the BeanTableDataFrame.- Overrides:
addToFramein classAbstractTableTabAction<NamedBean>- Parameters:
f- the Frame to add to
-
setMenuBar
public void setMenuBar(BeanTableFrame<NamedBean> f)
Description copied from class:AbstractTableActionAllow subclasses to alter the frame's Menubar without having to actually subclass the BeanTableDataFrame.- Overrides:
setMenuBarin classAbstractTableTabAction<NamedBean>- Parameters:
f- the Frame to attach the menubar to
-
setTitle
protected void setTitle()
Description copied from class:AbstractTableActionInclude the correct title.- Overrides:
setTitlein classAbstractTableTabAction<NamedBean>
-
helpTarget
protected java.lang.String helpTarget()
Description copied from class:AbstractTableActionSpecify the JavaHelp target for this specific panel.- Specified by:
helpTargetin classAbstractTableTabAction<NamedBean>- Returns:
- a fixed default string "index" pointing to to highest level in JMRI Help
-
getClassName
protected java.lang.String getClassName()
- Specified by:
getClassNamein classAbstractTableAction<NamedBean>
-
getClassDescription
public java.lang.String getClassDescription()
- Overrides:
getClassDescriptionin classAbstractTableAction<NamedBean>
-
-