|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
wiiremotej.event.WREvent
wiiremotej.event.WRCombinedEvent
public class WRCombinedEvent
Combined event for Nintendo (R) Wii Remote (TM). Contains events returned from buttons, the accelerometer, the IR Sensor, and the extension.
Note that some events may be null
(meaning their associated inputs are currently not enabled).
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
WRCombinedEvent(WiiRemote source,
WRButtonEvent BEvt,
WRAccelerationEvent AEvt,
WRIREvent IEvt,
WRExtensionEvent EEvt)
Creates a new WRCombinedEvent from the given events. |
Method Summary | |
---|---|
WRAccelerationEvent |
getAccelerationEvent()
Returns the acceleration event of this combined event. |
WRButtonEvent |
getButtonEvent()
Returns the button event of this combined event. |
WRExtensionEvent |
getExtensionEvent()
Returns the extension event of this combined event. |
WRIREvent |
getIREvent()
Returns the IR event of this combined event. |
Methods inherited from class wiiremotej.event.WREvent |
---|
getSource |
Methods inherited from class java.util.EventObject |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WRCombinedEvent(WiiRemote source, WRButtonEvent BEvt, WRAccelerationEvent AEvt, WRIREvent IEvt, WRExtensionEvent EEvt)
null
.
source
- the WiiRemote triggering this event.BEvt
- the button event of this combined event.AEvt
- the acceleration event of this combined event.IEvt
- the IR event of this combined event.EEvt
- the extension event of this combined event.Method Detail |
---|
public WRButtonEvent getButtonEvent()
null
.
public WRAccelerationEvent getAccelerationEvent()
null
.
public WRIREvent getIREvent()
null
.
public WRExtensionEvent getExtensionEvent()
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |