Class RouteOutputModel

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.swing.table.TableModel
    Direct Known Subclasses:
    RouteSensorModel, RouteTurnoutModel

    abstract class RouteOutputModel
    extends javax.swing.table.AbstractTableModel
    implements java.beans.PropertyChangeListener
    Base table model for selecting outputs. Split from RouteTableAction
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static int INCLUDE_COLUMN  
      (package private) static int SNAME_COLUMN  
      (package private) static int STATE_COLUMN  
      (package private) static int UNAME_COLUMN  
      • Fields inherited from class javax.swing.table.AbstractTableModel

        listenerList
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void dispose()  
      java.lang.Class<?> getColumnClass​(int c)  
      int getColumnCount()  
      java.lang.String getColumnName​(int c)  
      boolean isCellEditable​(int r, int c)  
      void propertyChange​(java.beans.PropertyChangeEvent e)  
      • Methods inherited from class javax.swing.table.AbstractTableModel

        addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.table.TableModel

        getRowCount, getValueAt
    • Method Detail

      • getColumnClass

        public java.lang.Class<?> getColumnClass​(int c)
        Specified by:
        getColumnClass in interface javax.swing.table.TableModel
        Overrides:
        getColumnClass in class javax.swing.table.AbstractTableModel
      • propertyChange

        public void propertyChange​(java.beans.PropertyChangeEvent e)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
      • getColumnName

        public java.lang.String getColumnName​(int c)
        Specified by:
        getColumnName in interface javax.swing.table.TableModel
        Overrides:
        getColumnName in class javax.swing.table.AbstractTableModel
      • getColumnCount

        public int getColumnCount()
        Specified by:
        getColumnCount in interface javax.swing.table.TableModel
      • isCellEditable

        public boolean isCellEditable​(int r,
                                      int c)
        Specified by:
        isCellEditable in interface javax.swing.table.TableModel
        Overrides:
        isCellEditable in class javax.swing.table.AbstractTableModel