Package jmri.jmrit.beantable
Class SignalHeadTableModel.AppearanceComboBoxPanel
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
jmri.jmrit.beantable.RowComboBoxPanel
jmri.jmrit.beantable.SignalHeadTableModel.AppearanceComboBoxPanel
- All Implemented Interfaces:
Serializable,CellEditor,TableCellEditor,TableCellRenderer,TreeCellEditor
- Enclosing class:
- SignalHeadTableModel
A row specific Appearance combobox cell editor/renderer.
-
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 the method in the surrounding method for the SignalHeadTable.Methods 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
-
AppearanceComboBoxPanel
-
-
Method Details
-
eventEditorMousePressed
Description copied from class:RowComboBoxPanelOpen combobox (Editor) when clicked.- Overrides:
eventEditorMousePressedin classRowComboBoxPanel
-
getEditorBox
Call the method in the surrounding method for the SignalHeadTable.- Overrides:
getEditorBoxin classRowComboBoxPanel- Parameters:
row- the user clicked on in the table- Returns:
- an appropriate combobox for this signal head
-