com.engidea.comm
Class SerialPortEvent
java.lang.Object
java.util.EventObject
com.engidea.comm.SerialPortEvent
- All Implemented Interfaces:
- java.io.Serializable
public class SerialPortEvent
- extends java.util.EventObject
If you ever want to know what was the previous state of something just save it in your code.
If you ever want to know what is the current state of something use one of the
isXXXX() The whole idea is Keep It Simple !!!
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATA_AVAILABLE
public static final int DATA_AVAILABLE
- See Also:
- Constant Field Values
OUTPUT_BUFFER_EMPTY
public static final int OUTPUT_BUFFER_EMPTY
- See Also:
- Constant Field Values
CTS
public static final int CTS
- See Also:
- Constant Field Values
DSR
public static final int DSR
- See Also:
- Constant Field Values
RI
public static final int RI
- See Also:
- Constant Field Values
CD
public static final int CD
- See Also:
- Constant Field Values
OE
public static final int OE
- See Also:
- Constant Field Values
PE
public static final int PE
- See Also:
- Constant Field Values
FE
public static final int FE
- See Also:
- Constant Field Values
BI
public static final int BI
- See Also:
- Constant Field Values
SerialPortEvent
public SerialPortEvent(SerialPort srcport,
int eventtype)
getEventType
public int getEventType()
getEventTypeString
public java.lang.String getEventTypeString()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject