Class 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:
    Serialized Form
    • Constructor Detail

      • DebugInterfaceModel

        public DebugInterfaceModel()
    • Method Detail

      • getCommPortsListModel

        public com.jgoodies.common.collect.ArrayListModel<org.bidib.wizard.api.model.common.CommPort> getCommPortsListModel()
      • getCommPorts

        public Collection<org.bidib.wizard.api.model.common.CommPort> getCommPorts()
      • setCommPorts

        public void setCommPorts​(List<org.bidib.wizard.api.model.common.CommPort> commPorts)
        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

        public Integer getBaudRate()
        Returns:
        the baudRate
      • setBaudRate

        public void setBaudRate​(Integer baudRate)
        Parameters:
        baudRate - the baudRate to set
      • getSendText

        public String getSendText()
        Returns:
        the sendText
      • setSendText

        public void setSendText​(String sendText)
        Parameters:
        sendText - the sendText to set
      • getSendFile

        public File getSendFile()
        Returns:
        the sendFile
      • setSendFile

        public void setSendFile​(File sendFile)
        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

        public String getLogFileName()
        Returns:
        the logFileName
      • setLogFileName

        public void setLogFileName​(String logFileName)
        Parameters:
        logFileName - the logFileName to set