|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jhid.test.TraceListener
A listsner that prints every message it receives.
Constructor Summary | |
TraceListener()
|
Method Summary | |
void |
stateChanged(IButton aButton,
boolean aPressed)
Called when the button changes state. |
void |
valueChanged(IAbsoluteAxis aAxis,
int aValue)
Called when the value of the axis changes. |
void |
valueChanged(IRelativeAxis aAxis,
int aDelta,
int aValue)
Called when the value of the axis changes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TraceListener()
Method Detail |
public void valueChanged(IRelativeAxis aAxis, int aDelta, int aValue)
IRelativeAxisListener
valueChanged
in interface IRelativeAxisListener
aAxis
- The axis that changedaDelta
- The differential value provided by the deviceaValue
- The new value of the axis, computed by the system.public void valueChanged(IAbsoluteAxis aAxis, int aValue)
IAbsoluteAxisListener
valueChanged
in interface IAbsoluteAxisListener
aAxis
- The axis that changedaValue
- The new value of the axis.public void stateChanged(IButton aButton, boolean aPressed)
IButtonListener
stateChanged
in interface IButtonListener
aButton
- The button that changed state.aPressed
- The new state of the button.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |