gnu.io
Class ParallelPortEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bygnu.io.ParallelPortEvent
All Implemented Interfaces:
java.io.Serializable

public class ParallelPortEvent
extends java.util.EventObject

Since:
JDK1.0
See Also:
Serialized Form

Field Summary
private  int eventType
           
private  boolean NewValue
           
private  boolean OldValue
           
static int PAR_EV_BUFFER
           
static int PAR_EV_ERROR
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ParallelPortEvent(ParallelPort srcport, int eventtype, boolean oldvalue, boolean newvalue)
           
 
Method Summary
 int getEventType()
           
 boolean getNewValue()
           
 boolean getOldValue()
           
 
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

PAR_EV_ERROR

public static final int PAR_EV_ERROR
See Also:
Constant Field Values

PAR_EV_BUFFER

public static final int PAR_EV_BUFFER
See Also:
Constant Field Values

OldValue

private boolean OldValue

NewValue

private boolean NewValue

eventType

private int eventType
Constructor Detail

ParallelPortEvent

public ParallelPortEvent(ParallelPort srcport,
                         int eventtype,
                         boolean oldvalue,
                         boolean newvalue)
Method Detail

getEventType

public int getEventType()

getNewValue

public boolean getNewValue()

getOldValue

public boolean getOldValue()