| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
serialPort.comm.ParallelPortEvent
public class ParallelPortEvent
An event on a parallel port.
| Field Summary | |
|---|---|
|  int | eventTypeDeprecated. Replaced by getEventTypemethod.
 For compatibility only. | 
| static int | PAR_EV_BUFFERThe output buffer is empty. | 
| static int | PAR_EV_ERRORAn error occurred. | 
| Constructor Summary | |
|---|---|
| ParallelPortEvent(ParallelPortInterface srcport,
                  int eventtype,
                  boolean oldvalue,
                  boolean newvalue)Constructor. | |
| Method Summary | |
|---|---|
|  int | getEventType()Returns the type of event: PAR_EV_ERROR or PAR_EV_BUFFER | 
|  boolean | getNewValue()Returns the new value of the state change that caused this event. | 
|  boolean | getOldValue()Returns the old value of the state change that caused this event. | 
| Methods inherited from class java.util.EventObject | 
|---|
| getSource, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public int eventType
getEventType method.
 For compatibility only.public static final int PAR_EV_ERROR
public static final int PAR_EV_BUFFER
| Constructor Detail | 
|---|
public ParallelPortEvent(ParallelPortInterface srcport,
                         int eventtype,
                         boolean oldvalue,
                         boolean newvalue)
srcport - the source porteventtype - the event type: PAR_EV_ERROR or PAR_EV_BUFFERoldvalue - the old valuenewvalue - the new value| Method Detail | 
|---|
public int getEventType()
public boolean getNewValue()
public boolean getOldValue()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||