Package jmri.jmrit.beantable.beanedit
Class BlockEditAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.beantable.beanedit.BeanEditAction<Block>
-
- jmri.jmrit.beantable.beanedit.BlockEditAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Direct Known Subclasses:
LayoutBlock.LayoutBlockEditAction
public class BlockEditAction extends BeanEditAction<Block>
Provides an edit panel for a Block object. Note that LayoutBlockEditAction extends this class, so please check this still functions as expected when making changes here.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JRadioButton
cm
(package private) javax.swing.JRadioButton
inch
protected boolean
metricUi
(package private) NamedBeanComboBox<Sensor>
sensorComboBox
(package private) static java.util.Vector<java.lang.String>
speedList
-
Fields inherited from class jmri.jmrit.beantable.beanedit.BeanEditAction
applyBut, bean, bei, commentField, commentFieldScroller, f, nbMan, selectedTab, userNameField
-
-
Constructor Summary
Constructors Constructor Description BlockEditAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Block
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
physicalDetails()
(package private) BeanItemPanel
reporterDetails()
(package private) BeanItemPanel
sensor()
-
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
-
inch
javax.swing.JRadioButton inch
-
cm
javax.swing.JRadioButton cm
-
metricUi
protected boolean metricUi
-
sensorComboBox
NamedBeanComboBox<Sensor> sensorComboBox
-
-
Constructor Detail
-
BlockEditAction
public BlockEditAction()
-
-
Method Detail
-
helpTarget
public java.lang.String helpTarget()
- Specified by:
helpTarget
in classBeanEditAction<Block>
-
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<Block>
-
getByUserName
public Block getByUserName(java.lang.String name)
- Specified by:
getByUserName
in classBeanEditAction<Block>
-
reporterDetails
BeanItemPanel reporterDetails()
-
physicalDetails
BeanItemPanel physicalDetails()
-
sensor
BeanItemPanel sensor()
-
-