|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
javax.comm.SerialPortEvent
public class SerialPortEvent
| Field Summary | |
|---|---|
static int |
BI
Define the bi (int) constant. |
static int |
CD
Define the cd (int) constant. |
static int |
CTS
Define the cts (int) constant. |
static int |
DATA_AVAILABLE
Define the data available (int) constant. |
static int |
DSR
Define the dsr (int) constant. |
int |
eventType
Define the event type (int) field. |
static int |
FE
Define the fe (int) constant. |
static int |
OE
Define the oe (int) constant. |
static int |
OUTPUT_BUFFER_EMPTY
Define the output buffer empty (int) constant. |
static int |
PE
Define the pe (int) constant. |
static int |
RI
Define the ri (int) constant. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
SerialPortEvent(SerialPort srcport,
int eventtype,
boolean oldvalue,
boolean newvalue)
Constructs an instance of this class from the specified srcport, eventtype, oldvalue and newvalue parameters. |
|
| Method Summary | |
|---|---|
int |
getEventType()
Gets the event type (int) value. |
boolean |
getNewValue()
Gets the new value (boolean) value. |
boolean |
getOldValue()
Gets the old value (boolean) value. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
public int eventType
| Constructor Detail |
|---|
public SerialPortEvent(SerialPort srcport,
int eventtype,
boolean oldvalue,
boolean newvalue)
srcport - The srcport (SerialPort) parameter.eventtype - The eventtype (int) parameter.oldvalue - The oldvalue (boolean) parameter.newvalue - The newvalue (boolean) parameter.| Method Detail |
|---|
public int getEventType()
int) value.public boolean getNewValue()
boolean) value.public boolean getOldValue()
boolean) value.
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||