|
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.ParallelPortEvent
public class ParallelPortEvent
| Field Summary | |
|---|---|
int |
eventType
Define the event type (int) field. |
static int |
PAR_EV_BUFFER
Define the par ev buffer (int) constant. |
static int |
PAR_EV_ERROR
Define the par ev error (int) constant. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ParallelPortEvent(ParallelPort 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 PAR_EV_ERROR
public static final int PAR_EV_BUFFER
public int eventType
| Constructor Detail |
|---|
public ParallelPortEvent(ParallelPort srcport,
int eventtype,
boolean oldvalue,
boolean newvalue)
srcport - The srcport (ParallelPort) 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 | |||||||||