net.jhid.impl.generic
Class AbstractAxis

java.lang.Object
  extended bynet.jhid.impl.generic.AbstractSlot
      extended bynet.jhid.impl.generic.AbstractAxis
All Implemented Interfaces:
IAxis
Direct Known Subclasses:
AbsoluteAxis, RelativeAxis

public abstract class AbstractAxis
extends AbstractSlot
implements IAxis


Constructor Summary
AbstractAxis(AbstractDevice aDevice, AxisId aId)
           
 
Method Summary
 AxisId getId()
           
 int getValue()
          Returns the current position of this axis.
 void setValue(int aValue)
           
 
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.IAxis
getDevice
 

Constructor Detail

AbstractAxis

public AbstractAxis(AbstractDevice aDevice,
                    AxisId aId)
Method Detail

getId

public AxisId getId()
Specified by:
getId in interface IAxis
Returns:
The identifier of this axis.

getValue

public int getValue()
Description copied from interface: IAxis
Returns the current position of this axis.

Specified by:
getValue in interface IAxis

setValue

public void setValue(int aValue)