Package jmri.jmrit.beantable.beanedit
Class LightEditAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.beantable.beanedit.BeanEditAction<Light>
-
- jmri.jmrit.beantable.beanedit.LightEditAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class LightEditAction extends BeanEditAction<Light>
Provides an edit panel for a Light object.- 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 LightEditAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cancelButtonAction(java.awt.event.ActionEvent e)
Light
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.(package private) BeanItemPanel
lightControlPanel()
(package private) BeanItemPanel
lightIntensityPanel()
(package private) BeanItemPanel
propertiesDetails()
Hide the Bean Properties Tab.-
Methods inherited from class jmri.jmrit.beantable.beanedit.BeanEditAction
actionPerformed, addToPanel, allowBlockNameChange, applyButtonAction, basicDetails, formatTextAreaAsLabel, initPanelsFirst, initPanelsLast, removeName, renameBean, resetBasicItems, save, saveBasicItems, setBean, setSelectedComponent, usageDetails, validateNumericalInput
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
LightEditAction
public LightEditAction()
-
-
Method Detail
-
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<Light>
-
helpTarget
public java.lang.String helpTarget()
- Specified by:
helpTarget
in classBeanEditAction<Light>
-
getByUserName
public Light getByUserName(java.lang.String name)
- Specified by:
getByUserName
in classBeanEditAction<Light>
-
cancelButtonAction
protected void cancelButtonAction(java.awt.event.ActionEvent e)
- Overrides:
cancelButtonAction
in classBeanEditAction<Light>
-
propertiesDetails
BeanItemPanel propertiesDetails()
Hide the Bean Properties Tab.- Overrides:
propertiesDetails
in classBeanEditAction<Light>
- Returns:
- null
-
lightControlPanel
BeanItemPanel lightControlPanel()
-
lightIntensityPanel
BeanItemPanel lightIntensityPanel()
-
-