Package jmri.jmrit.signalling
Class SignallingPanel.SignalMastModel.AspectComboBoxPanel
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
jmri.jmrit.beantable.RowComboBoxPanel
jmri.jmrit.signalling.SignallingPanel.SignalMastModel.AspectComboBoxPanel
- All Implemented Interfaces:
Serializable,CellEditor,TableCellEditor,TableCellRenderer,TreeCellEditor
- Enclosing class:
- SignallingPanel.SignalMastModel
A row specific Aspect combobox cell editor/renderer.
This is a full version of the
RowComboBoxPanel RowComboBox cell editor
class, including all hashtables and row specific comboBox choices.
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor
DefaultCellEditor.EditorDelegate -
Field Summary
Fields inherited from class jmri.jmrit.beantable.RowComboBoxPanel
comboBoxFocusRequester, consumeComboBoxActionEvent, currentRow, editor, prevItem, renderer, startEditingEvent, table, tableListenerAddedFields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponentFields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidOpen combobox (Editor) when clicked.getEditorBox(int row) Call methodSignallingPanel.SignalMastModel.getAspectEditorBox(int)in the surrounding method for the SignalMastTableMethods inherited from class jmri.jmrit.beantable.RowComboBoxPanel
eventRowComboBoxActionPerformed, eventTableSelectionChanged, getCellEditorValue, getCurrentRow, getEditorComponent, getRendererComponent, getTableCellEditorComponent, getTableCellRendererComponent, isCellEditable, setItems, updateDataMethods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, setClickCountToStart, shouldSelectCell, stopCellEditingMethods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.CellEditor
addCellEditorListener, removeCellEditorListener
-
Constructor Details
-
AspectComboBoxPanel
public AspectComboBoxPanel()
-
-
Method Details
-
eventEditorMousePressed
Description copied from class:RowComboBoxPanelOpen combobox (Editor) when clicked.- Overrides:
eventEditorMousePressedin classRowComboBoxPanel
-
getEditorBox
Call methodSignallingPanel.SignalMastModel.getAspectEditorBox(int)in the surrounding method for the SignalMastTable- Overrides:
getEditorBoxin classRowComboBoxPanel- Parameters:
row- Index of the row clicked in the table- Returns:
- an appropriate combobox for this signal mast
-