Package jmri.jmrit.beantable.beanedit
Class SensorDebounceEditAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.beantable.beanedit.BeanEditAction<Sensor>
-
- jmri.jmrit.beantable.beanedit.SensorDebounceEditAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class SensorDebounceEditAction extends BeanEditAction<Sensor>
Provides an edit panel for a sensor debounce object.This is designed so that it can be re-used in other panels.
BlockEditAction.sensor()
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jmri.jmrit.beantable.beanedit.BeanEditAction
applyBut, bean, bei, commentField, commentFieldScroller, f, nbMan, selectedTab, userNameField
-
-
Constructor Summary
Constructors Constructor Description SensorDebounceEditAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enabled(java.lang.Boolean boo)
Sensor
getByUserName(java.lang.String name)
java.lang.String
helpTarget()
protected void
initPanels()
Call to create all the different tabs that will be added to the frame.protected void
resetDebounceItems(java.awt.event.ActionEvent e)
protected void
saveDebounceItems(java.awt.event.ActionEvent e)
BeanItemPanel
sensorDebounce(BeanItemPanel basic)
void
setBean(Sensor bean)
-
Methods 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, validateNumericalInput
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
SensorDebounceEditAction
public SensorDebounceEditAction()
-
-
Method Detail
-
helpTarget
public java.lang.String helpTarget()
- Specified by:
helpTarget
in classBeanEditAction<Sensor>
-
getByUserName
public Sensor getByUserName(java.lang.String name)
- Specified by:
getByUserName
in classBeanEditAction<Sensor>
-
initPanels
protected void initPanels()
Description copied from class:BeanEditAction
Call to create all the different tabs that will be added to the frame.- Overrides:
initPanels
in classBeanEditAction<Sensor>
-
setBean
public void setBean(Sensor bean)
- Overrides:
setBean
in classBeanEditAction<Sensor>
-
sensorDebounce
public BeanItemPanel sensorDebounce(BeanItemPanel basic)
-
saveDebounceItems
protected void saveDebounceItems(java.awt.event.ActionEvent e)
-
resetDebounceItems
protected void resetDebounceItems(java.awt.event.ActionEvent e)
-
enabled
public void enabled(java.lang.Boolean boo)
-
-