Class EcosLocoTableAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.beantable.AbstractTableAction<NamedBean>
jmri.jmrix.ecos.swing.locodatabase.EcosLocoTableAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static classNested classes/interfaces inherited from class jmri.jmrit.beantable.AbstractTableAction
AbstractTableAction.TableItem<E extends NamedBean> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EcosSystemConnectionMemostatic final intprotected EcosLocoAddressManagerstatic final intprotected String(package private) boolean(package private) JCheckBoxstatic final intstatic final int(package private) JTableFields inherited from class jmri.jmrit.beantable.AbstractTableAction
f, includeAddButton, mFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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 -
Constructor Summary
ConstructorsConstructorDescriptionCreate an action with a specific title. -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidvoid(package private) voidaddToRoster(int row, int col) protected voidCreate the JTable DataModel, along with the changes for the specific NamedBean type.protected EcosLocoAddressgetByEcosObject(String object) protected Stringprotected StringSpecify the JavaHelp target for this specific panel.voidvoidsetManager(Manager<NamedBean> man) If the subClass is being included in a greater tabbed frame, then this is used to specify which manager the subclass should be using.protected voidsetTitle()Include the correct title.(package private) voidprotected JButtonCreate a JButton to edit a turnout operation.(package private) voidstopLoco(int row, int col) Methods inherited from class jmri.jmrit.beantable.AbstractTableAction
addBottomButtons, addToFrame, addToFrame, addToPanel, columnsVisibleUpdated, configureManagerComboBox, configureTable, displayHwError, dispose, getClassDescription, getDataModel, getFrame, getManager, getPanel, getTableDataModel, includeAddButton, nextName, print, removePrefixBoxListener, setFrame, setMenuBar, setMessagePreferencesDetailsMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
adaptermemo
-
locoManager
-
rosterAttribute
-
ecosObjectIdList
-
table
-
PROTOCOL
- See Also:
-
ADDTOROSTERCOL
- See Also:
-
SPEEDDIR
- See Also:
-
STOP
- See Also:
-
showLocoMonitor
boolean showLocoMonitor -
showMonitorLoco
-
-
Constructor Details
-
EcosLocoTableAction
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:
s- Action title string.
-
EcosLocoTableAction
public EcosLocoTableAction() -
EcosLocoTableAction
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classAbstractTableAction<NamedBean>
-
setManager
Description copied from class:AbstractTableActionIf the subClass is being included in a greater tabbed frame, then this is used to specify which manager the subclass should be using.- Overrides:
setManagerin classAbstractTableAction<NamedBean>- Parameters:
man- Manager for this table tab
-
setAdapterMemo
-
getByEcosObject
-
createModel
Description copied from class:AbstractTableActionCreate the JTable DataModel, along with the changes for the specific NamedBean type.- Specified by:
createModelin classAbstractTableAction<NamedBean>
-
showMonitorChanged
void showMonitorChanged() -
stopButton
Create a JButton to edit a turnout operation.- Returns:
- the JButton
-
stopLoco
-
addToPanel
-
addToRoster
-
setTitle
Description copied from class:AbstractTableActionInclude the correct title.- Specified by:
setTitlein classAbstractTableAction<NamedBean>
-
helpTarget
Description copied from class:AbstractTableActionSpecify the JavaHelp target for this specific panel.- Overrides:
helpTargetin classAbstractTableAction<NamedBean>- Returns:
- a fixed default string "index" pointing to to highest level in JMRI Help
-
addPressed
- Specified by:
addPressedin classAbstractTableAction<NamedBean>
-
getClassName
- Specified by:
getClassNamein classAbstractTableAction<NamedBean>
-