Class RosterGroupTableAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.util.swing.JmriAbstractAction
-
- jmri.jmrit.roster.swing.rostergroup.RosterGroupTableAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class RosterGroupTableAction extends JmriAbstractAction
Swing action to create and register a Roster Group Table.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) RosterGroupTableFrame
f
(package private) RosterGroupTableModel
m
-
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wi
-
-
Constructor Summary
Constructors Constructor Description RosterGroupTableAction()
RosterGroupTableAction(java.lang.String s)
Create an action with a specific title.RosterGroupTableAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
RosterGroupTableAction(java.lang.String s, WindowInterface wi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed()
void
actionPerformed(java.awt.event.ActionEvent e)
void
addToFrame(RosterGroupTableFrame f)
(package private) void
comboSelected(java.awt.event.ActionEvent e, java.lang.String group)
(package private) void
createModel()
(package private) java.lang.String
helpTarget()
JmriPanel
makePanel()
(package private) void
setTitle()
-
Methods inherited from class jmri.util.swing.JmriAbstractAction
dispose, setContext, setHint, setName, setParameter, setParameter, setWindowInterface, toString
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
RosterGroupTableAction
public RosterGroupTableAction(java.lang.String s, WindowInterface wi)
-
RosterGroupTableAction
public RosterGroupTableAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
-
RosterGroupTableAction
public RosterGroupTableAction(java.lang.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
- action title though may be changed?
-
RosterGroupTableAction
public RosterGroupTableAction()
-
-
Method Detail
-
createModel
void createModel()
-
actionPerformed
public void actionPerformed()
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Overrides:
actionPerformed
in classJmriAbstractAction
-
addToFrame
public void addToFrame(RosterGroupTableFrame f)
-
setTitle
void setTitle()
-
helpTarget
java.lang.String helpTarget()
-
comboSelected
void comboSelected(java.awt.event.ActionEvent e, java.lang.String group)
-
makePanel
public JmriPanel makePanel()
- Specified by:
makePanel
in classJmriAbstractAction
-
-