|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwiiusej.test.Tests
public class Tests
This class used to test WiiuseJ in text mode.
Field Summary | |
---|---|
private static int |
DISPLAY_EACH_VALUE
|
(package private) int |
dump
|
private static int |
DUMP
|
private static int |
MOVE_MOUSE
|
(package private) java.awt.Robot |
robot
|
private static int |
TEST_LEDS
|
private Wiimote |
wiimote
|
Constructor Summary | |
---|---|
Tests(Wiimote wim)
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
void |
onButtonsEvent(WiimoteButtonsEvent e)
Method called on a button Event. |
void |
onDisconnectionEvent(DisconnectionEvent e)
This is the method called when a disconnection event occurs. |
void |
onExpansionEvent(ExpansionEvent e)
Method called when an expansion event occurs. |
void |
onIrEvent(IREvent e)
Method called when an IR event occurs. |
void |
onMotionSensingEvent(MotionSensingEvent e)
Method called when a motion sensing event occurs. |
void |
onNunchukInsertedEvent(NunchukInsertedEvent e)
This is the method called when a NunchukInsertedEvent occurs. |
void |
onNunchukRemovedEvent(NunchukRemovedEvent e)
This is the method called when a NunchukRemovedEvent occurs. |
void |
onStatusEvent(StatusEvent e)
Method called on a status event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.awt.Robot robot
private static int DISPLAY_EACH_VALUE
private static int DUMP
private static int MOVE_MOUSE
private static int TEST_LEDS
private Wiimote wiimote
int dump
Constructor Detail |
---|
public Tests(Wiimote wim)
Method Detail |
---|
public void onButtonsEvent(WiimoteButtonsEvent e)
WiimoteListener
onButtonsEvent
in interface WiimoteListener
e
- the buttonEvent with the last informations about the buttons
of the wiimote.public void onIrEvent(IREvent e)
WiimoteListener
onIrEvent
in interface WiimoteListener
e
- the IREvent with the IR points seen.public void onMotionSensingEvent(MotionSensingEvent e)
WiimoteListener
onMotionSensingEvent
in interface WiimoteListener
e
- the motion sensing event with orientation and acceleration.public void onExpansionEvent(ExpansionEvent e)
WiimoteListener
onExpansionEvent
in interface WiimoteListener
e
- the expansion event occured.public void onStatusEvent(StatusEvent e)
WiimoteListener
onStatusEvent
in interface WiimoteListener
e
- the status event.public void onDisconnectionEvent(DisconnectionEvent e)
WiimoteListener
onDisconnectionEvent
in interface WiimoteListener
e
- the disconnection event.public void onNunchukInsertedEvent(NunchukInsertedEvent e)
WiimoteListener
onNunchukInsertedEvent
in interface WiimoteListener
e
- the NunchukInsertedEvent.public void onNunchukRemovedEvent(NunchukRemovedEvent e)
WiimoteListener
onNunchukRemovedEvent
in interface WiimoteListener
e
- the NunchukRemovedEvent.public static void main(java.lang.String[] args)
args
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |