Package jmri.jmrit.beantable
Class ListedTableAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.beantable.ListedTableAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class ListedTableAction extends javax.swing.AbstractAction
Table Action for dealing with all the JMRI NamedBean etc. tables in a single view with a list option to the left hand side. Enclosing frame is opened from the Tools - Tables menu.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intdividerLocation(package private) ListedTableFrame<?>f(package private) java.lang.StringgotoListItem(package private) java.lang.Stringtitle
-
Constructor Summary
Constructors Constructor Description ListedTableAction()ListedTableAction(java.lang.String s)ListedTableAction(java.lang.String s, int divider)ListedTableAction(java.lang.String s, java.lang.String selection)Create an action with a specific title.ListedTableAction(java.lang.String s, java.lang.String selection, int divider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed()voidactionPerformed(java.awt.event.ActionEvent e)voidaddToFrame(ListedTableFrame<?> f)(package private) java.lang.StringhelpTarget()-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
gotoListItem
java.lang.String gotoListItem
-
title
java.lang.String title
-
f
ListedTableFrame<?> f
-
dividerLocation
int dividerLocation
-
-
Constructor Detail
-
ListedTableAction
public ListedTableAction(java.lang.String s, java.lang.String selection)
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- title of the actionselection- item representing this table in de index to the left side of the containing frame
-
ListedTableAction
public ListedTableAction(java.lang.String s, java.lang.String selection, int divider)
-
ListedTableAction
public ListedTableAction(java.lang.String s, int divider)
-
ListedTableAction
public ListedTableAction(java.lang.String s)
-
ListedTableAction
public ListedTableAction()
-
-
Method Detail
-
actionPerformed
public void actionPerformed()
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
addToFrame
public void addToFrame(ListedTableFrame<?> f)
-
helpTarget
java.lang.String helpTarget()
-
-