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 voidcancelButtonAction(java.awt.event.ActionEvent e)LightgetByUserName(java.lang.String name)java.lang.StringhelpTarget()protected voidinitPanels()Call to create all the different tabs that will be added to the frame.(package private) BeanItemPanellightControlPanel()(package private) BeanItemPanellightIntensityPanel()(package private) BeanItemPanelpropertiesDetails()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:BeanEditActionCall to create all the different tabs that will be added to the frame.- Overrides:
initPanelsin classBeanEditAction<Light>
-
helpTarget
public java.lang.String helpTarget()
- Specified by:
helpTargetin classBeanEditAction<Light>
-
getByUserName
public Light getByUserName(java.lang.String name)
- Specified by:
getByUserNamein classBeanEditAction<Light>
-
cancelButtonAction
protected void cancelButtonAction(java.awt.event.ActionEvent e)
- Overrides:
cancelButtonActionin classBeanEditAction<Light>
-
propertiesDetails
BeanItemPanel propertiesDetails()
Hide the Bean Properties Tab.- Overrides:
propertiesDetailsin classBeanEditAction<Light>- Returns:
- null
-
lightControlPanel
BeanItemPanel lightControlPanel()
-
lightIntensityPanel
BeanItemPanel lightIntensityPanel()
-
-