Package jmri.jmrit.beantable.beanedit
Class TurnoutEditAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.beantable.beanedit.BeanEditAction<Turnout>
-
- jmri.jmrit.beantable.beanedit.TurnoutEditAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class TurnoutEditAction extends BeanEditAction<Turnout>
Provides an edit panel for a turnout object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.awt.event.ActionListener
automationSelectionListener
-
Fields inherited from class jmri.jmrit.beantable.beanedit.BeanEditAction
applyBut, bean, bei, commentField, commentFieldScroller, f, nbMan, selectedTab, userNameField
-
-
Constructor Summary
Constructors Constructor Description TurnoutEditAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
protected BeanItemPanel
basicDetails()
Create a generic panel that holds the basic bean information System Name, User Name, and Comment.protected void
cancelButtonAction(java.awt.event.ActionEvent e)
Turnout
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 BeanItemPanel
lock()
protected void
resetBasicItems(java.awt.event.ActionEvent e)
protected void
saveBasicItems(java.awt.event.ActionEvent e)
protected BeanItemPanel
speed()
-
Methods inherited from class jmri.jmrit.beantable.beanedit.BeanEditAction
addToPanel, allowBlockNameChange, applyButtonAction, formatTextAreaAsLabel, initPanelsFirst, initPanelsLast, propertiesDetails, removeName, renameBean, save, setBean, setSelectedComponent, usageDetails, validateNumericalInput
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
automationSelectionListener
transient java.awt.event.ActionListener automationSelectionListener
-
-
Constructor Detail
-
TurnoutEditAction
public TurnoutEditAction()
-
-
Method Detail
-
helpTarget
public java.lang.String helpTarget()
- Specified by:
helpTarget
in classBeanEditAction<Turnout>
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Overrides:
actionPerformed
in classBeanEditAction<Turnout>
-
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<Turnout>
-
getByUserName
public Turnout getByUserName(java.lang.String name)
- Specified by:
getByUserName
in classBeanEditAction<Turnout>
-
basicDetails
protected BeanItemPanel basicDetails()
Description copied from class:BeanEditAction
Create a generic panel that holds the basic bean information System Name, User Name, and Comment.- Overrides:
basicDetails
in classBeanEditAction<Turnout>
- Returns:
- a new panel
-
saveBasicItems
protected void saveBasicItems(java.awt.event.ActionEvent e)
- Overrides:
saveBasicItems
in classBeanEditAction<Turnout>
-
resetBasicItems
protected void resetBasicItems(java.awt.event.ActionEvent e)
- Overrides:
resetBasicItems
in classBeanEditAction<Turnout>
-
cancelButtonAction
protected void cancelButtonAction(java.awt.event.ActionEvent e)
- Overrides:
cancelButtonAction
in classBeanEditAction<Turnout>
-
lock
protected BeanItemPanel lock()
-
speed
protected BeanItemPanel speed()
-
-