Package jmri.jmrit.beantable.beanedit
Class OBlockEditAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.beantable.beanedit.BeanEditAction<OBlock>
-
- jmri.jmrit.beantable.beanedit.OBlockEditAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class OBlockEditAction extends BeanEditAction<OBlock>
Provides a tabbed beanedit panel for an OBlock object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) TableFrames.BlockPathJPanel
blockPathPanel
(package private) javax.swing.JRadioButton
cm
(package private) java.lang.String
defaultBlockSpeedText
(package private) NamedBeanComboBox<Sensor>
errorSensorComboBox
(package private) javax.swing.JRadioButton
inch
(package private) javax.swing.JSpinner
lengthSpinner
(package private) javax.swing.JCheckBox
permissiveField
(package private) NamedBeanComboBox<Reporter>
reporterComboBox
(package private) NamedBeanComboBox<Sensor>
sensorComboBox
(package private) javax.swing.JComboBox<java.lang.String>
speedField
(package private) static java.util.Vector<java.lang.String>
speedList
(package private) javax.swing.JCheckBox
useCurrent
-
Fields inherited from class jmri.jmrit.beantable.beanedit.BeanEditAction
applyBut, bean, bei, commentField, commentFieldScroller, f, nbMan, selectedTab, userNameField
-
-
Constructor Summary
Constructors Constructor Description OBlockEditAction(java.awt.event.ActionEvent ae)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OBlock
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
paths()
(package private) BeanItemPanel
physicalDetails()
(package private) BeanItemPanel
reporterDetails()
(package private) BeanItemPanel
sensor()
void
setTablePanel(TableFrames.BlockPathJPanel panel)
-
Methods inherited from class jmri.jmrit.beantable.beanedit.BeanEditAction
actionPerformed, addToPanel, allowBlockNameChange, applyButtonAction, basicDetails, cancelButtonAction, formatTextAreaAsLabel, initPanelsFirst, initPanelsLast, propertiesDetails, 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
-
-
-
-
Field Detail
-
speedList
static final java.util.Vector<java.lang.String> speedList
-
reporterComboBox
NamedBeanComboBox<Reporter> reporterComboBox
-
useCurrent
javax.swing.JCheckBox useCurrent
-
blockPathPanel
TableFrames.BlockPathJPanel blockPathPanel
-
sensorComboBox
NamedBeanComboBox<Sensor> sensorComboBox
-
errorSensorComboBox
NamedBeanComboBox<Sensor> errorSensorComboBox
-
lengthSpinner
javax.swing.JSpinner lengthSpinner
-
permissiveField
javax.swing.JCheckBox permissiveField
-
speedField
javax.swing.JComboBox<java.lang.String> speedField
-
inch
javax.swing.JRadioButton inch
-
cm
javax.swing.JRadioButton cm
-
defaultBlockSpeedText
java.lang.String defaultBlockSpeedText
-
-
Constructor Detail
-
OBlockEditAction
public OBlockEditAction(java.awt.event.ActionEvent ae)
-
-
Method Detail
-
helpTarget
public java.lang.String helpTarget()
- Specified by:
helpTarget
in classBeanEditAction<OBlock>
-
setTablePanel
public void setTablePanel(TableFrames.BlockPathJPanel panel)
-
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<OBlock>
-
getByUserName
public OBlock getByUserName(java.lang.String name)
- Specified by:
getByUserName
in classBeanEditAction<OBlock>
-
sensor
BeanItemPanel sensor()
-
paths
BeanItemPanel paths()
-
reporterDetails
BeanItemPanel reporterDetails()
-
physicalDetails
BeanItemPanel physicalDetails()
-
-