jmri.jmrix.ecos.swing.locodatabase
Class EcosLocoTableAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by jmri.jmrit.beantable.AbstractTableAction
          extended by jmri.jmrix.ecos.swing.locodatabase.EcosLocoTableAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class EcosLocoTableAction
extends AbstractTableAction

See Also:
Serialized Form

Field Summary
protected  EcosSystemConnectionMemo adaptermemo
           
protected  EcosLocoAddressManager locoManager
           
protected  String rosterAttribute
           
 
Fields inherited from class jmri.jmrit.beantable.AbstractTableAction
f, m, rb, rbean
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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
 
Constructor Summary
EcosLocoTableAction()
           
EcosLocoTableAction(String s)
          Create an action with a specific title.
EcosLocoTableAction(String s, EcosSystemConnectionMemo memo)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
protected  void addPressed(ActionEvent e)
           
 void addToPanel(EcosLocoTableTabAction f)
           
protected  void createModel()
          Create the JTable DataModel, along with the changes for the specific NamedBean type
protected  EcosLocoAddress getByEcosObject(String object)
           
protected  String getClassName()
           
protected  String helpTarget()
          Specify the JavaHelp target for this specific panel
 void setAdapterMemo(EcosSystemConnectionMemo memo)
           
 void setManager(Manager 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  void setTitle()
          Include the correct title
protected  JButton stopButton()
          Create a JButton to edit a turnout operation.
 
Methods inherited from class jmri.jmrit.beantable.AbstractTableAction
addToFrame, addToPanel, dispose, getClassDescription, getPanel, getTableDataModel, makeJTable, print, setFrame, setMenuBar, setMessagePreferencesDetails
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adaptermemo

protected EcosSystemConnectionMemo adaptermemo

locoManager

protected EcosLocoAddressManager locoManager

rosterAttribute

protected String rosterAttribute
Constructor Detail

EcosLocoTableAction

public EcosLocoTableAction(String s)
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 -

EcosLocoTableAction

public EcosLocoTableAction()

EcosLocoTableAction

public EcosLocoTableAction(String s,
                           EcosSystemConnectionMemo memo)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener
Overrides:
actionPerformed in class AbstractTableAction

setManager

public void setManager(Manager man)
Description copied from class: AbstractTableAction
If the subClass is being included in a greater tabbed frame, then this is used to specify which manager the subclass should be using.

Overrides:
setManager in class AbstractTableAction

setAdapterMemo

public void setAdapterMemo(EcosSystemConnectionMemo memo)

getByEcosObject

protected EcosLocoAddress getByEcosObject(String object)

createModel

protected void createModel()
Description copied from class: AbstractTableAction
Create the JTable DataModel, along with the changes for the specific NamedBean type

Specified by:
createModel in class AbstractTableAction

stopButton

protected JButton stopButton()
Create a JButton to edit a turnout operation.

Returns:
the JButton

addToPanel

public void addToPanel(EcosLocoTableTabAction f)

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

addPressed

protected void addPressed(ActionEvent e)
Specified by:
addPressed in class AbstractTableAction

getClassName

protected String getClassName()
Specified by:
getClassName 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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads