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 void
addToFrame(BeanTableFrame<NamedBean> f)
Allow subclasses to add to the frame without having to actually subclass the BeanTableDataFrame.protected void
createModel()
Create the JTable DataModel, along with the changes for the specific NamedBean type.java.lang.String
getClassDescription()
protected java.lang.String
getClassName()
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.String
helpTarget()
Specify the JavaHelp target for this specific panel.void
setMenuBar(BeanTableFrame<NamedBean> f)
Allow subclasses to alter the frame's Menubar without having to actually subclass the BeanTableDataFrame.protected void
setTitle()
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:AbstractTableAction
Create the JTable DataModel, along with the changes for the specific NamedBean type.- Overrides:
createModel
in classAbstractTableTabAction<NamedBean>
-
getNewTableAction
protected AbstractTableAction<NamedBean> getNewTableAction(java.lang.String choice)
- Specified by:
getNewTableAction
in classAbstractTableTabAction<NamedBean>
-
getNewTableAction
protected AbstractTableAction<NamedBean> getNewTableAction(java.lang.String choice, EcosSystemConnectionMemo eMemo)
-
getManager
protected Manager<NamedBean> getManager()
Description copied from class:AbstractTableAction
Get the Bean Manager in use by the TableAction.- Specified by:
getManager
in 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:AbstractTableAction
Allow subclasses to add to the frame without having to actually subclass the BeanTableDataFrame.- Overrides:
addToFrame
in classAbstractTableTabAction<NamedBean>
- Parameters:
f
- the Frame to add to
-
setMenuBar
public void setMenuBar(BeanTableFrame<NamedBean> f)
Description copied from class:AbstractTableAction
Allow subclasses to alter the frame's Menubar without having to actually subclass the BeanTableDataFrame.- Overrides:
setMenuBar
in classAbstractTableTabAction<NamedBean>
- Parameters:
f
- the Frame to attach the menubar to
-
setTitle
protected void setTitle()
Description copied from class:AbstractTableAction
Include the correct title.- Overrides:
setTitle
in classAbstractTableTabAction<NamedBean>
-
helpTarget
protected java.lang.String helpTarget()
Description copied from class:AbstractTableAction
Specify the JavaHelp target for this specific panel.- Specified by:
helpTarget
in classAbstractTableTabAction<NamedBean>
- Returns:
- a fixed default string "index" pointing to to highest level in JMRI Help
-
getClassName
protected java.lang.String getClassName()
- Specified by:
getClassName
in classAbstractTableAction<NamedBean>
-
getClassDescription
public java.lang.String getClassDescription()
- Overrides:
getClassDescription
in classAbstractTableAction<NamedBean>
-
-