org.wiigee.event
Class ActionStartEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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

Field Summary
protected  boolean closegesturebutton
           
protected  boolean recognitionbutton
           
protected  boolean trainbutton
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ActionStartEvent(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
 

Field Detail

trainbutton

protected boolean trainbutton

recognitionbutton

protected boolean recognitionbutton

closegesturebutton

protected boolean closegesturebutton
Constructor Detail

ActionStartEvent

public ActionStartEvent(Device source)
Method Detail

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()