|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
jmri.jmrit.beantable.AbstractTableAction
jmri.jmrit.beantable.SensorTableAction
public class SensorTableAction
Swing action to create and register a SensorTable GUI.
| Field Summary | |
|---|---|
(package private) JmriJFrame |
addFrame
|
(package private) static org.slf4j.Logger |
log
|
(package private) JTextField |
numberToAdd
|
(package private) UserPreferencesManager |
p
|
(package private) JComboBox |
prefixBox
|
(package private) JCheckBox |
range
|
protected SensorManager |
senManager
|
(package private) JCheckBox |
showDebounceBox
|
(package private) JTextField |
sysName
|
(package private) JLabel |
sysNameLabel
|
(package private) String |
systemSelectionCombo
|
(package private) JTextField |
userName
|
(package private) String |
userNameError
|
(package private) JLabel |
userNameLabel
|
| Fields inherited from class jmri.jmrit.beantable.AbstractTableAction |
|---|
f, includeAddButton, 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 | |
|---|---|
SensorTableAction()
|
|
SensorTableAction(String actionName)
Create an action with a specific title. |
|
| Method Summary | |
|---|---|
protected void |
addPressed(ActionEvent e)
|
void |
addToFrame(BeanTableFrame f)
Allow subclasses to add to the frame without have to actually subclass the BeanTableDataFrame |
void |
addToPanel(AbstractTableTabAction f)
If the subClass is being included in a greater tabbed frame, then this method is used to add the details to the tabbed frame |
protected void |
createModel()
Create the JTable DataModel, along with the changes for the specific case of Sensors |
String |
getClassDescription()
|
protected String |
getClassName()
|
(package private) void |
handleCreateException(String sysName)
|
protected String |
helpTarget()
Specify the JavaHelp target for this specific panel |
(package private) void |
okPressed(ActionEvent e)
|
protected void |
setDefaultDebounce(JFrame _who)
|
protected void |
setDefaultState(JFrame _who)
|
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. |
void |
setMenuBar(BeanTableFrame f)
Allow subclasses to add alter the frames Menubar without have to actually subclass the BeanTableDataFrame |
void |
setMessagePreferencesDetails()
|
protected void |
setTitle()
Include the correct title |
(package private) void |
showDebounceChanged()
|
| Methods inherited from class jmri.jmrit.beantable.AbstractTableAction |
|---|
actionPerformed, dispose, getPanel, getTableDataModel, includeAddButton, print, setFrame |
| 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 |
|---|
protected SensorManager senManager
JmriJFrame addFrame
JTextField sysName
JTextField userName
JComboBox prefixBox
JTextField numberToAdd
JCheckBox range
JLabel sysNameLabel
JLabel userNameLabel
String systemSelectionCombo
String userNameError
UserPreferencesManager p
JCheckBox showDebounceBox
static final org.slf4j.Logger log
| Constructor Detail |
|---|
public SensorTableAction(String actionName)
Note that the argument is the Action title, not the title of the resulting frame. Perhaps this should be changed?
actionName - public SensorTableAction()
| Method Detail |
|---|
public void setManager(Manager man)
AbstractTableAction
setManager in class AbstractTableActionprotected void createModel()
createModel in class AbstractTableActionprotected void setTitle()
AbstractTableAction
setTitle in class AbstractTableActionprotected String helpTarget()
AbstractTableAction
helpTarget in class AbstractTableActionprotected void addPressed(ActionEvent e)
addPressed in class AbstractTableActionvoid okPressed(ActionEvent e)
void handleCreateException(String sysName)
protected void setDefaultDebounce(JFrame _who)
protected void setDefaultState(JFrame _who)
public void setMenuBar(BeanTableFrame f)
AbstractTableAction
setMenuBar in class AbstractTableActionvoid showDebounceChanged()
public void addToFrame(BeanTableFrame f)
AbstractTableAction
addToFrame in class AbstractTableActionpublic void addToPanel(AbstractTableTabAction f)
AbstractTableAction
addToPanel in class AbstractTableActionpublic void setMessagePreferencesDetails()
setMessagePreferencesDetails in class AbstractTableActionprotected String getClassName()
getClassName in class AbstractTableActionpublic String getClassDescription()
getClassDescription in class AbstractTableAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||