gnu.io

Class ParallelPortEvent


public class ParallelPortEvent
extends EventObject

Since:
JDK1.0

Field Summary

static int
PAR_EV_BUFFER
static int
PAR_EV_ERROR

Constructor Summary

ParallelPortEvent(ParallelPort srcport, int eventtype, boolean oldvalue, boolean newvalue)

Method Summary

int
getEventType()
boolean
getNewValue()
boolean
getOldValue()

Field Details

PAR_EV_BUFFER

public static final int PAR_EV_BUFFER
Field Value:
2

PAR_EV_ERROR

public static final int PAR_EV_ERROR
Field Value:
1

Constructor Details

ParallelPortEvent

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

Method Details

getEventType

public int getEventType()

getNewValue

public boolean getNewValue()

getOldValue

public boolean getOldValue()