net.jhid.impl.generic
Class RelativeAxis

java.lang.Object
  extended bynet.jhid.impl.generic.AbstractSlot
      extended bynet.jhid.impl.generic.AbstractAxis
          extended bynet.jhid.impl.generic.RelativeAxis
All Implemented Interfaces:
IAxis, IRelativeAxis

public class RelativeAxis
extends AbstractAxis
implements IRelativeAxis


Constructor Summary
RelativeAxis(AbstractDevice aDevice, AxisId aId)
           
 
Method Summary
 void addListener(IRelativeAxisListener aListener)
           
 void move(int aDelta)
          Updates the value of this axis and fires an event.
 void removeListener(IRelativeAxisListener aListener)
           
 
Methods inherited from class net.jhid.impl.generic.AbstractAxis
getId, getValue, setValue
 
Methods inherited from class net.jhid.impl.generic.AbstractSlot
addListener, getAbstractDevice, getDevice, getListenersIterator, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.jhid.core.devices.IRelativeAxis
setValue
 
Methods inherited from interface net.jhid.core.devices.IAxis
getDevice, getId, getValue
 

Constructor Detail

RelativeAxis

public RelativeAxis(AbstractDevice aDevice,
                    AxisId aId)
Method Detail

addListener

public void addListener(IRelativeAxisListener aListener)
Specified by:
addListener in interface IRelativeAxis

removeListener

public void removeListener(IRelativeAxisListener aListener)
Specified by:
removeListener in interface IRelativeAxis

move

public void move(int aDelta)
Updates the value of this axis and fires an event.