Class LocoTableModel
java.lang.Object
com.jgoodies.common.bean.Bean
com.jgoodies.binding.beans.Model
org.bidib.wizard.mvc.locolist.model.LocoTableModel
- All Implemented Interfaces:
com.jgoodies.common.bean.ObservableBean,com.jgoodies.common.bean.ObservableBean2,Serializable
public class LocoTableModel
extends com.jgoodies.binding.beans.Model
- See Also:
-
Field Summary
FieldsFields inherited from class com.jgoodies.common.bean.Bean
changeSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLoco(org.bidib.jbidibc.messages.DriveState driveState) com.jgoodies.common.collect.ArrayListModel<org.bidib.wizard.model.locolist.LocoListModel> List<org.bidib.wizard.model.locolist.LocoListModel> getLocos()booleanvoidprocessLocoAction(org.bidib.wizard.api.notification.LocoListChangeAction ca) voidvoidremoveLoco(int locoAddress) voidsetCsNodeSelected(boolean csNodeSelected) voidsetDriveState(byte[] address, org.bidib.jbidibc.messages.DriveState driveState) voidsetLocoListModel(List<org.bidib.wizard.model.locolist.LocoListModel> locoModelList) Methods inherited from class com.jgoodies.binding.beans.Model
createPropertyChangeSupport, firePropertyChangeMethods inherited from class com.jgoodies.common.bean.Bean
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
-
Field Details
-
PROPERTY_CS_NODE_SELECTED
- See Also:
-
-
Constructor Details
-
LocoTableModel
-
-
Method Details
-
setLocoListModel
-
processLocoAction
public void processLocoAction(org.bidib.wizard.api.notification.LocoListChangeAction ca) -
addLoco
public void addLoco(org.bidib.jbidibc.messages.DriveState driveState) -
removeLoco
public void removeLoco(int locoAddress) -
removeAllLocos
public void removeAllLocos() -
setDriveState
public void setDriveState(byte[] address, org.bidib.jbidibc.messages.DriveState driveState) -
getLocoListModel
public com.jgoodies.common.collect.ArrayListModel<org.bidib.wizard.model.locolist.LocoListModel> getLocoListModel() -
getLocos
-
isCsNodeSelected
public boolean isCsNodeSelected() -
setCsNodeSelected
public void setCsNodeSelected(boolean csNodeSelected)
-