Package jmri.jmrit.beantable
Class MemoryTableAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Swing action to create and register a MemoryTable GUI.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jmri.jmrit.beantable.AbstractTableAction
AbstractTableAction.TableItem<E extends NamedBean> -
Field Summary
FieldsModifier and TypeFieldDescription(package private) JmriJFrame(package private) JCheckBox(package private) JSpinner(package private) UserPreferencesManager(package private) JCheckBox(package private) SpinnerNumberModel(package private) JLabel(package private) JTextField(package private) JLabel(package private) String(package private) JTextField(package private) JLabelFields inherited from class jmri.jmrit.beantable.AbstractTableAction
f, includeAddButton, mFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
ConstructorsConstructorDescriptionMemoryTableAction(String actionName) Create an action with a specific title. -
Method Summary
Modifier and TypeMethodDescriptionprotected void(package private) voidprotected voidCreate the JTable DataModel, along with the changes for the specific case of Memory objectsprotected String(package private) voidhandleCreateException(String sysName) protected StringSpecify the JavaHelp target for this specific panel.(package private) voidvoidprotected voidsetTitle()Include the correct title.Methods inherited from class jmri.jmrit.beantable.AbstractTableAction
actionPerformed, addBottomButtons, addToFrame, addToFrame, addToPanel, columnsVisibleUpdated, configureManagerComboBox, configureTable, displayHwError, dispose, getDataModel, getFrame, getManager, getPanel, getTableDataModel, includeAddButton, nextName, print, removePrefixBoxListener, setFrame, setManager, setMenuBarMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
addFrame
-
sysNameField
-
userNameField
-
sysNameLabel
-
userNameLabel
-
rangeSpinner
-
numberToAddSpinner
-
rangeBox
-
autoSystemNameBox
-
statusBarLabel
-
p
-
systemNameAuto
-
-
Constructor Details
-
MemoryTableAction
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:
actionName- title of the action
-
MemoryTableAction
public MemoryTableAction()
-
-
Method Details
-
createModel
Create the JTable DataModel, along with the changes for the specific case of Memory objects- Specified by:
createModelin classAbstractTableAction<Memory>
-
setTitle
Include the correct title.- Specified by:
setTitlein classAbstractTableAction<Memory>
-
helpTarget
Specify the JavaHelp target for this specific panel.- Overrides:
helpTargetin classAbstractTableAction<Memory>- Returns:
- a fixed default string "index" pointing to to highest level in JMRI Help
-
addPressed
- Specified by:
addPressedin classAbstractTableAction<Memory>
-
cancelPressed
-
okPressed
-
handleCreateException
-
getClassDescription
- Overrides:
getClassDescriptionin classAbstractTableAction<Memory>
-
setMessagePreferencesDetails
- Overrides:
setMessagePreferencesDetailsin classAbstractTableAction<Memory>
-
getClassName
- Specified by:
getClassNamein classAbstractTableAction<Memory>
-