ch.aplu.ftcontroller
Class ResistorEvent

java.lang.Object
  extended by ch.aplu.ftcontroller.ResistorEvent

public class ResistorEvent
extends java.lang.Object

A class to retrieve event information when the ResistorInListener callbacks are fired.


Method Summary
 int getPort()
          Returns the port number.
 int getValue()
          Returns the current value when the value changed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValue

public int getValue()
Returns the current value when the value changed.

Returns:
the current value(integer 0..1023)

getPort

public int getPort()
Returns the port number.

Returns:
the port number (for AX: 1, for AY: 2)