jmri.jmrit.roster.swing.rostergroup
Class RosterGroupTableAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by jmri.util.swing.JmriAbstractAction
          extended by jmri.jmrit.roster.swing.rostergroup.RosterGroupTableAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class RosterGroupTableAction
extends JmriAbstractAction

Swing action to create and register a Roster Group Table.

Author:
Bob Jacobsen Copyright (C) 2003, Kevin Dickerson Copyright (C) 2009
See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, wi
 
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
RosterGroupTableAction()
           
RosterGroupTableAction(String s)
          Create an action with a specific title.
RosterGroupTableAction(String s, Icon i, WindowInterface wi)
           
RosterGroupTableAction(String s, WindowInterface wi)
           
 
Method Summary
 void actionPerformed()
           
 void actionPerformed(ActionEvent e)
           
 void addToFrame(RosterGroupTableFrame f)
           
 JmriPanel makePanel()
           
 
Methods inherited from class jmri.util.swing.JmriAbstractAction
dispose, setContext, setHint, setName, setParameter, setWindowInterface, toString
 
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, wait, wait, wait
 

Constructor Detail

RosterGroupTableAction

public RosterGroupTableAction(String s,
                              WindowInterface wi)

RosterGroupTableAction

public RosterGroupTableAction(String s,
                              Icon i,
                              WindowInterface wi)

RosterGroupTableAction

public RosterGroupTableAction(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 -

RosterGroupTableAction

public RosterGroupTableAction()
Method Detail

actionPerformed

public void actionPerformed()

actionPerformed

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

addToFrame

public void addToFrame(RosterGroupTableFrame f)

makePanel

public JmriPanel makePanel()
Specified by:
makePanel in class JmriAbstractAction


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