org.wiigee.event
Class MotionStartEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.wiigee.event.ActionStartEvent
          extended by org.wiigee.event.MotionStartEvent
All Implemented Interfaces:
java.io.Serializable

public class MotionStartEvent
extends ActionStartEvent

This Event gets fired, if the Device starts to move.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.wiigee.event.ActionStartEvent
closegesturebutton, recognitionbutton, trainbutton
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MotionStartEvent(Device 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
 

Constructor Detail

MotionStartEvent

public MotionStartEvent(Device source)
Method Detail

isTrainInitEvent

public boolean isTrainInitEvent()
Description copied from class: ActionStartEvent
Is true if this button press has been done by the individual defined TrainButton which has to be set during initialization of a Wiimote.

Overrides:
isTrainInitEvent in class ActionStartEvent
Returns:
Is this button pres initiated by the training button.
See Also:
setTrainButton()

isCloseGestureInitEvent

public boolean isCloseGestureInitEvent()
Description copied from class: ActionStartEvent
Is true if this button press has been done by the individual defined CloseGestureButton which has to be set during initialization of a Wiimote.

Overrides:
isCloseGestureInitEvent in class ActionStartEvent
Returns:
Is this button press initiated by the close gesture button.
See Also:
setCloseGestureButton()

isRecognitionInitEvent

public boolean isRecognitionInitEvent()
Description copied from class: ActionStartEvent
Is true if this button press has been done by the individual defined RecognitionButton which has to be set during initialization of a Wiimote.

Overrides:
isRecognitionInitEvent in class ActionStartEvent
Returns:
Is this button press initiated by the recognition button.
See Also:
setRecognitionButton()