public class SerialPortPanel
extends java.lang.Object
Constructor and Description |
---|
SerialPortPanel() |
SerialPortPanel(java.lang.String title) |
SerialPortPanel(java.lang.String title,
boolean canBaud,
boolean canBits,
boolean canStopBits,
boolean canParity,
boolean canFlowControl) |
Modifier and Type | Method and Description |
---|---|
javax.swing.JComboBox |
getBaudList() |
int |
getBaudRate() |
javax.swing.JComboBox |
getBitsList() |
int |
getDataBits() |
int |
getFlowControl() |
javax.swing.JComboBox |
getFlowControlList() |
javax.swing.JPanel |
getPanel() |
boolean |
getParams(SerialPortParameters serialParameters) |
int |
getParity() |
javax.swing.JComboBox |
getParityList() |
java.lang.String |
getPort() |
javax.swing.JComboBox |
getPortList() |
int |
getStopBits() |
javax.swing.JComboBox |
getStopBitsList() |
void |
setBaudRate(int baudRate) |
void |
setDataBits(int dataBits) |
void |
setFlowControl(int flowControl) |
void |
setParams(SerialPortParameters serialParams) |
void |
setParity(int parity) |
void |
setPort(java.lang.String port) |
void |
setStopBits(int stopBits) |
public SerialPortPanel()
public SerialPortPanel(java.lang.String title)
public SerialPortPanel(java.lang.String title, boolean canBaud, boolean canBits, boolean canStopBits, boolean canParity, boolean canFlowControl)
public javax.swing.JPanel getPanel()
public int getBaudRate()
public void setBaudRate(int baudRate)
public int getDataBits()
public void setDataBits(int dataBits)
public int getFlowControl()
public void setFlowControl(int flowControl)
public int getParity()
public void setParity(int parity)
public java.lang.String getPort()
public void setPort(java.lang.String port)
public int getStopBits()
public void setStopBits(int stopBits)
public javax.swing.JComboBox getBaudList()
public javax.swing.JComboBox getBitsList()
public javax.swing.JComboBox getFlowControlList()
public javax.swing.JComboBox getParityList()
public javax.swing.JComboBox getPortList()
public javax.swing.JComboBox getStopBitsList()
public void setParams(SerialPortParameters serialParams)
public boolean getParams(SerialPortParameters serialParameters)