|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.aplu.ftcontroller.DigitalEvent
public class DigitalEvent
A class to retrieve event information when the DigitalListener callbacks are fired.
Method Summary | |
---|---|
int |
getMask()
Returns a bit pattern that reflects which ports have changed their state. |
int |
getValue()
Returns a bit pattern that reflects the current states of the input ports: I1->bit 0 (LSB),... |
boolean |
isPortChanged(int portNb)
Returns the current state of the given port |
boolean |
isPortOn(int portNb)
Returns the state of the given port. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getValue()
public int getMask()
public boolean isPortChanged(int portNb)
portNb
- the port number (1..8) to survey for changes
public boolean isPortOn(int portNb)
portNb
- the port number (1..8) to survey
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |