com.threerings.opengl.gui.event
Class ControllerAdapter

java.lang.Object
  extended by com.threerings.opengl.gui.event.ControllerAdapter
All Implemented Interfaces:
ComponentListener, ControllerListener

public class ControllerAdapter
extends Object
implements ControllerListener

A convenience class for partially implementing the ControllerListener interface.


Constructor Summary
ControllerAdapter()
           
 
Method Summary
 void controllerMoved(ControllerEvent event)
          Dispatched when the controller is moved on an axis.
 void controllerPovXMoved(ControllerEvent event)
          Dispatched when the controller's pov has moved on the x axis.
 void controllerPovYMoved(ControllerEvent event)
          Dispatched when the controller's pov has moved on the y axis.
 void controllerPressed(ControllerEvent event)
          Dispatched when a controller button is pressed.
 void controllerReleased(ControllerEvent event)
          Dispatched when a controller button is released.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerAdapter

public ControllerAdapter()
Method Detail

controllerPressed

public void controllerPressed(ControllerEvent event)
Description copied from interface: ControllerListener
Dispatched when a controller button is pressed.

Specified by:
controllerPressed in interface ControllerListener

controllerReleased

public void controllerReleased(ControllerEvent event)
Description copied from interface: ControllerListener
Dispatched when a controller button is released.

Specified by:
controllerReleased in interface ControllerListener

controllerMoved

public void controllerMoved(ControllerEvent event)
Description copied from interface: ControllerListener
Dispatched when the controller is moved on an axis.

Specified by:
controllerMoved in interface ControllerListener

controllerPovXMoved

public void controllerPovXMoved(ControllerEvent event)
Description copied from interface: ControllerListener
Dispatched when the controller's pov has moved on the x axis.

Specified by:
controllerPovXMoved in interface ControllerListener

controllerPovYMoved

public void controllerPovYMoved(ControllerEvent event)
Description copied from interface: ControllerListener
Dispatched when the controller's pov has moved on the y axis.

Specified by:
controllerPovYMoved in interface ControllerListener


Copyright © 2011. All Rights Reserved.