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 protected booleanmetricUi(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 BlockgetByUserName(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) BeanItemPanelphysicalDetails()(package private) BeanItemPanelreporterDetails()(package private) BeanItemPanelsensor()-
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
-
-
-
-
Constructor Detail
-
BlockEditAction
public BlockEditAction()
-
-
Method Detail
-
helpTarget
public java.lang.String helpTarget()
- Specified by:
helpTargetin classBeanEditAction<Block>
-
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<Block>
-
getByUserName
public Block getByUserName(java.lang.String name)
- Specified by:
getByUserNamein classBeanEditAction<Block>
-
reporterDetails
BeanItemPanel reporterDetails()
-
physicalDetails
BeanItemPanel physicalDetails()
-
sensor
BeanItemPanel sensor()
-
-