|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--javax.comm.SerialPortEvent
Serial port event that is sent when something happens on the serial port
| Field Summary | |
static int |
BI
Break interrupt |
static int |
CD
Carrier detect. |
static int |
CTS
Clear to send. |
static int |
DATA_AVAILABLE
Data available at the serial port. |
static int |
DSR
Data set ready. |
static int |
FE
Framing error |
static int |
OE
Overrun error |
static int |
OUTPUT_BUFFER_EMPTY
Output buffer is empty. |
static int |
PE
Parity error |
static int |
RI
Ring indicator. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
SerialPortEvent(SerialPort port,
int type,
boolean oldValue,
boolean newValue)
Create a new serial port event |
|
| Method Summary | |
int |
getEventType()
Get the event type |
boolean |
getNewValue()
Get the new value |
boolean |
getOldValue()
Get the old value |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DATA_AVAILABLE
public static final int OUTPUT_BUFFER_EMPTY
public static final int CTS
public static final int DSR
public static final int RI
public static final int CD
public static final int OE
public static final int PE
public static final int FE
public static final int BI
| Constructor Detail |
public SerialPortEvent(SerialPort port,
int type,
boolean oldValue,
boolean newValue)
port - The serial portoldValue - The old valuenewValue - The new value| Method Detail |
public boolean getNewValue()
public boolean getOldValue()
public int getEventType()
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||