Package jmri.jmrix.can.cbus.eventtable
Class CbusEventTableAction
- java.lang.Object
-
- jmri.jmrix.can.cbus.eventtable.CbusEventTableAction
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
public class CbusEventTableAction extends java.lang.Object implements java.beans.PropertyChangeListener
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
sessionConfirmDeleteRow
-
Constructor Summary
Constructors Constructor Description CbusEventTableAction(CbusBasicEventTableModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addRemoveListenersToNbManagers(boolean add)
void
buttonDeleteClicked(int row)
Delete Button Clicked See whether to display confirm popupvoid
dispose()
protected void
parseMessage(AbstractMessage m)
If new event add to table, else update table.void
propertyChange(java.beans.PropertyChangeEvent ev)
protected void
removeRow(int row)
Remove Row from tablevoid
resetAllSessionTotals()
protected void
updateGuiCell(int row, int col)
void
updatejmricols()
Update all columns for JMRI Sensor, Turnout and light details
-
-
-
Field Detail
-
sessionConfirmDeleteRow
protected boolean sessionConfirmDeleteRow
-
-
Constructor Detail
-
CbusEventTableAction
public CbusEventTableAction(@Nonnull CbusBasicEventTableModel model)
-
-
Method Detail
-
updatejmricols
public void updatejmricols()
Update all columns for JMRI Sensor, Turnout and light details
-
resetAllSessionTotals
public void resetAllSessionTotals()
-
addRemoveListenersToNbManagers
protected final void addRemoveListenersToNbManagers(boolean add)
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent ev)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
buttonDeleteClicked
public void buttonDeleteClicked(int row)
Delete Button Clicked See whether to display confirm popup- Parameters:
row
- int row number
-
removeRow
protected void removeRow(int row)
Remove Row from table- Parameters:
row
- int row number
-
updateGuiCell
protected void updateGuiCell(int row, int col)
-
parseMessage
protected void parseMessage(AbstractMessage m)
If new event add to table, else update table.- Parameters:
m
- Message to process
-
dispose
public void dispose()
-
-