org.jagatoo.input.events
Class ControllerButtonReleasedEvent

java.lang.Object
  extended by org.jagatoo.input.events.InputEvent
      extended by org.jagatoo.input.events.ControllerEvent
          extended by org.jagatoo.input.events.ControllerButtonEvent
              extended by org.jagatoo.input.events.ControllerButtonReleasedEvent

public class ControllerButtonReleasedEvent
extends ControllerButtonEvent

Stores the details associated with a controller event.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jagatoo.input.events.ControllerEvent
ControllerEvent.SubType
 
Nested classes/interfaces inherited from class org.jagatoo.input.events.InputEvent
InputEvent.Type
 
Field Summary
 
Fields inherited from class org.jagatoo.input.events.ControllerButtonEvent
button
 
Constructor Summary
ControllerButtonReleasedEvent()
          Creates a ControllerButtonReleasedEvent with default values.
ControllerButtonReleasedEvent(Controller controller, ControllerButton button, long when, long lastWhen)
          Create a new event.
 
Method Summary
 void set(ControllerButtonReleasedEvent e)
          Sets the fields of this ControllerButtonReleasedEvent to match the given event.
 void set(Controller controller, ControllerButton button, long when, long lastWhen)
           
 java.lang.String toString()
          
 
Methods inherited from class org.jagatoo.input.events.ControllerButtonEvent
getButton, getButtonBooleanState, getButtonState, set, set
 
Methods inherited from class org.jagatoo.input.events.ControllerEvent
getController, getSubType, set, set
 
Methods inherited from class org.jagatoo.input.events.InputEvent
getComponent, getLastWhen, getType, getWhen, set, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ControllerButtonReleasedEvent

public ControllerButtonReleasedEvent()
Creates a ControllerButtonReleasedEvent with default values.


ControllerButtonReleasedEvent

public ControllerButtonReleasedEvent(Controller controller,
                                     ControllerButton button,
                                     long when,
                                     long lastWhen)
Create a new event.

Parameters:
controller -
button -
when -
lastWhen -
Method Detail

toString

public java.lang.String toString()

Overrides:
toString in class ControllerButtonEvent
Returns:
in formation about this InputEvent as a String.

set

public void set(Controller controller,
                ControllerButton button,
                long when,
                long lastWhen)
Parameters:
controller -
button -
when -
lastWhen -

set

public void set(ControllerButtonReleasedEvent e)
Sets the fields of this ControllerButtonReleasedEvent to match the given event.