javax.media.ding3d.utils.behaviors.vp
Class WandViewBehavior.ListenerBase

java.lang.Object
  extended by javax.media.ding3d.utils.behaviors.sensor.SensorInputAdaptor
      extended by javax.media.ding3d.utils.behaviors.vp.WandViewBehavior.ListenerBase
All Implemented Interfaces:
SensorButtonListener, SensorReadListener
Direct Known Subclasses:
WandViewBehavior.GrabViewListener6D, WandViewBehavior.RotationListener2D, WandViewBehavior.RotationListener6D, WandViewBehavior.ScaleListener2D, WandViewBehavior.ScaleListener6D, WandViewBehavior.TranslationListener2D, WandViewBehavior.TranslationListener6D
Enclosing class:
WandViewBehavior

public class WandViewBehavior.ListenerBase
extends SensorInputAdaptor

A base class for implementing some of this behavior's listeners.


Constructor Summary
WandViewBehavior.ListenerBase()
           
 
Method Summary
 void pressed(SensorEvent e)
          This method is called when a sensor's button is pressed.
 void released(SensorEvent e)
          This method is called when a sensor's button is released.
 
Methods inherited from class javax.media.ding3d.utils.behaviors.sensor.SensorInputAdaptor
clicked, dragged, read
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WandViewBehavior.ListenerBase

public WandViewBehavior.ListenerBase()
Method Detail

pressed

public void pressed(SensorEvent e)
Description copied from interface: SensorButtonListener
This method is called when a sensor's button is pressed.

Specified by:
pressed in interface SensorButtonListener
Overrides:
pressed in class SensorInputAdaptor
Parameters:
e - the sensor event

released

public void released(SensorEvent e)
Description copied from interface: SensorButtonListener
This method is called when a sensor's button is released.

Specified by:
released in interface SensorButtonListener
Overrides:
released in class SensorInputAdaptor
Parameters:
e - the sensor event