Package org.bidib.wizard.mvc.debug.model
Class DebugInterfaceModel
java.lang.Object
com.jgoodies.common.bean.Bean
com.jgoodies.binding.beans.Model
org.bidib.wizard.mvc.debug.model.DebugInterfaceModel
- All Implemented Interfaces:
com.jgoodies.common.bean.ObservableBean,com.jgoodies.common.bean.ObservableBean2,Serializable
public class DebugInterfaceModel
extends com.jgoodies.binding.beans.Model
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.jgoodies.common.bean.Bean
changeSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.bidib.wizard.api.model.common.CommPort> com.jgoodies.common.collect.ArrayListModel<org.bidib.wizard.api.model.common.CommPort> org.bidib.jbidibc.debug.LineEndingEnumorg.bidib.wizard.api.model.common.CommPortbooleanbooleanbooleanbooleanbooleanvoidsetBaudRate(Integer baudRate) voidsetCommPorts(List<org.bidib.wizard.api.model.common.CommPort> commPorts) Set the commPorts and notify the listenersvoidsetConnected(boolean connected) voidsetDisconnected(boolean disconnected) voidsetLineEnding(org.bidib.jbidibc.debug.LineEndingEnum lineEnding) voidsetLogFileName(String logFileName) voidsetLogToFile(boolean logToFile) voidsetSelectedPort(org.bidib.wizard.api.model.common.CommPort selectedPort) voidsetSendFile(File sendFile) voidsetSendText(String sendText) voidsetTransferInProgress(boolean transferInProgress) 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_COM_PORTS
- See Also:
-
PROPERTY_SELECTED_PORT
- See Also:
-
PROPERTY_SEND_TEXT
- See Also:
-
PROPERTY_BAUDRATE
- See Also:
-
PROPERTY_SEND_FILE
- See Also:
-
PROPERTY_CONNECTED
- See Also:
-
PROPERTY_DISCONNECTED
- See Also:
-
PROPERTY_TRANSFER_IN_PROGRESS
- See Also:
-
PROPERTY_TRANSMIT_ENABLED
- See Also:
-
PROPERTY_LINE_ENDING
- See Also:
-
PROPERTY_LOG_TO_FILE
- See Also:
-
PROPERTY_LOGFILE_NAME
- See Also:
-
-
Constructor Details
-
DebugInterfaceModel
public DebugInterfaceModel()
-
-
Method Details
-
getCommPortsListModel
public com.jgoodies.common.collect.ArrayListModel<org.bidib.wizard.api.model.common.CommPort> getCommPortsListModel() -
getCommPorts
-
setCommPorts
Set the commPorts and notify the listeners- Parameters:
commPorts- the commPorts to set
-
getSelectedPort
public org.bidib.wizard.api.model.common.CommPort getSelectedPort()- Returns:
- the selectedPort
-
setSelectedPort
public void setSelectedPort(org.bidib.wizard.api.model.common.CommPort selectedPort) - Parameters:
selectedPort- the selectedPort to set
-
getBaudRate
- Returns:
- the baudRate
-
setBaudRate
- Parameters:
baudRate- the baudRate to set
-
getSendText
- Returns:
- the sendText
-
setSendText
- Parameters:
sendText- the sendText to set
-
getSendFile
- Returns:
- the sendFile
-
setSendFile
- Parameters:
sendFile- the sendFile to set
-
isConnected
public boolean isConnected()- Returns:
- the connected
-
setConnected
public void setConnected(boolean connected) - Parameters:
connected- the connected to set
-
isDisconnected
public boolean isDisconnected()- Returns:
- the disconnected state
-
setDisconnected
public void setDisconnected(boolean disconnected) - Parameters:
disconnected- the connected to set
-
isTransferInProgress
public boolean isTransferInProgress()- Returns:
- the transferInProgress
-
setTransferInProgress
public void setTransferInProgress(boolean transferInProgress) - Parameters:
transferInProgress- the transferInProgress to set
-
isTransmitEnabled
public boolean isTransmitEnabled() -
getLineEnding
public org.bidib.jbidibc.debug.LineEndingEnum getLineEnding()- Returns:
- the lineEnding
-
setLineEnding
public void setLineEnding(org.bidib.jbidibc.debug.LineEndingEnum lineEnding) - Parameters:
lineEnding- the lineEnding to set
-
isLogToFile
public boolean isLogToFile()- Returns:
- the logToFile
-
setLogToFile
public void setLogToFile(boolean logToFile) - Parameters:
logToFile- the logToFile to set
-
getLogFileName
- Returns:
- the logFileName
-
setLogFileName
- Parameters:
logFileName- the logFileName to set
-