Package jmri.jmrit.beantable.beanedit
Class SensorPullUpEditAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.beantable.beanedit.BeanEditAction<Sensor>
jmri.jmrit.beantable.beanedit.SensorPullUpEditAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Provides an edit panel for the sensor pull up/pull down configuration.
This is designed so that it can be re-used in other panels. This is based
on the SensorDebounceEditAction class.
- See Also:
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidgetByUserName(String name) protected voidCall to create all the different tabs that will be added to the frame.protected voidprotected voidsensorPullUp(BeanItemPanel basic) voidMethods inherited from class jmri.jmrit.beantable.beanedit.BeanEditAction
actionPerformed, addToPanel, allowBlockNameChange, applyButtonAction, basicDetails, cancelButtonAction, formatTextAreaAsLabel, initPanelsFirst, initPanelsLast, propertiesDetails, removeName, renameBean, resetBasicItems, save, saveBasicItems, setSelectedComponent, usageDetails, validateNumericalInputMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
sensorPullUpComboBox
-
-
Constructor Details
-
SensorPullUpEditAction
public SensorPullUpEditAction()
-
-
Method Details
-
helpTarget
- Specified by:
helpTargetin classBeanEditAction<Sensor>
-
getByUserName
- Specified by:
getByUserNamein 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>
-
setBean
- Overrides:
setBeanin classBeanEditAction<Sensor>
-
sensorPullUp
-
savePullUpItems
-
resetPullUpItems
-
enabled
-