Package jmri.jmrit.beantable.beanedit
Class SensorEditAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Provides an edit panel for a Sensor object.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) SensorDebounceEditAction(package private) JCheckBox(package private) SensorPullUpEditActionFields inherited from class jmri.jmrit.beantable.beanedit.BeanEditAction
applyBut, bean, bei, commentField, commentFieldScroller, f, nbMan, selectedTab, userNameFieldFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) BeanItemPanelCreate a generic panel that holds the basic bean information System Name, User Name, and Comment.getByUserName(String name) protected voidCall to create all the different tabs that will be added to the frame.protected voidprotected voidMethods inherited from class jmri.jmrit.beantable.beanedit.BeanEditAction
actionPerformed, addToPanel, allowBlockNameChange, applyButtonAction, cancelButtonAction, formatTextAreaAsLabel, initPanelsFirst, initPanelsLast, propertiesDetails, removeName, renameBean, save, setBean, setSelectedComponent, usageDetails, validateNumericalInputMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
debounce
-
pullup
-
inverted
-
-
Constructor Details
-
SensorEditAction
public SensorEditAction()
-
-
Method Details
-
helpTarget
- Specified by:
helpTargetin classBeanEditAction<Sensor>
-
initPanels
Description copied from class:BeanEditActionCall to create all the different tabs that will be added to the frame.- Overrides:
initPanelsin classBeanEditAction<Sensor>
-
getByUserName
- Specified by:
getByUserNamein classBeanEditAction<Sensor>
-
basicDetails
Description copied from class:BeanEditActionCreate a generic panel that holds the basic bean information System Name, User Name, and Comment.- Overrides:
basicDetailsin classBeanEditAction<Sensor>- Returns:
- a new panel
-
saveBasicItems
- Overrides:
saveBasicItemsin classBeanEditAction<Sensor>
-
resetBasicItems
- Overrides:
resetBasicItemsin classBeanEditAction<Sensor>
-