org.wiigee.event
Class ActionStartEvent
java.lang.Object
java.util.EventObject
org.wiigee.event.ActionStartEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ButtonPressedEvent, MotionStartEvent
public class ActionStartEvent
- extends java.util.EventObject
An ActionStartEvent is an Event where other different events can
be derived from, if they can be considered as an event actually starting
a process like e.g. Training, Recognition, ...
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Method Summary |
boolean |
isCloseGestureInitEvent()
Is true if this button press has been done by the
individual defined CloseGestureButton which has to be
set during initialization of a Wiimote. |
boolean |
isRecognitionInitEvent()
Is true if this button press has been done by the
individual defined RecognitionButton which has to be
set during initialization of a Wiimote. |
boolean |
isTrainInitEvent()
Is true if this button press has been done by the
individual defined TrainButton which has to be
set during initialization of a Wiimote. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
trainbutton
protected boolean trainbutton
recognitionbutton
protected boolean recognitionbutton
closegesturebutton
protected boolean closegesturebutton
ActionStartEvent
public ActionStartEvent(Device source)
isRecognitionInitEvent
public boolean isRecognitionInitEvent()
- Is true if this button press has been done by the
individual defined RecognitionButton which has to be
set during initialization of a Wiimote.
- Returns:
- Is this button press initiated by the recognition button.
- See Also:
setRecognitionButton()
isTrainInitEvent
public boolean isTrainInitEvent()
- Is true if this button press has been done by the
individual defined TrainButton which has to be
set during initialization of a Wiimote.
- Returns:
- Is this button pres initiated by the training button.
- See Also:
setTrainButton()
isCloseGestureInitEvent
public boolean isCloseGestureInitEvent()
- Is true if this button press has been done by the
individual defined CloseGestureButton which has to be
set during initialization of a Wiimote.
- Returns:
- Is this button press initiated by the close gesture button.
- See Also:
setCloseGestureButton()