Class CbusEventTableDataModel

    • Field Detail

      • CBUS_EV_TABLE_COL_TOOLTIPS

        public static final java.lang.String[] CBUS_EV_TABLE_COL_TOOLTIPS
        Get the Column Tooltips.

        Order needs to match column list

    • Method Detail

      • skipSaveOnDispose

        public void skipSaveOnDispose()
        De-register the shut down task which saves table details.
      • getColumnName

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

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

        public boolean isCellEditable​(int row,
                                      int col)
        Specified by:
        isCellEditable in interface javax.swing.table.TableModel
        Overrides:
        isCellEditable in class javax.swing.table.AbstractTableModel
      • message

        public void message​(CanMessage m)
        Called when an outgoing message is sent to the CAN Network.
        Specified by:
        message in interface CanListener
        Parameters:
        m - the CanMessage being sent.
      • reply

        public void reply​(CanReply m)
        Called when an incoming CanFrame is received from the CAN Network.
        Specified by:
        reply in interface CanListener
        Parameters:
        m - the CanReply being received.
      • clearAllEvents

        protected void clearAllEvents()
        Remove all events from table.
      • dispose

        public void dispose()
        Disconnect from the CBUS. Check and trigger if need to save table to xml.
        Specified by:
        dispose in interface Disposable