Class OBlockTableModel.SpeedComboBoxPanel

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer, javax.swing.tree.TreeCellEditor
    Enclosing class:
    OBlockTableModel

    public static class OBlockTableModel.SpeedComboBoxPanel
    extends RowComboBoxPanel
    Provide a table cell renderer looking like a JComboBox as an editor/renderer for the OBlock table SPEED column.

    This is a lightweight version of the RowComboBoxPanel RowComboBox cell editor class, some of the hashtables not needed here since we only need identical options for all rows in a column. see jmri.jmrit.signalling.SignallingPanel.SignalMastModel.AspectComboBoxPanel for a full application with row specific comboBox choices.

    See Also:
    Serialized Form