net.jinx.action.input.robot
Class AxisControl

java.lang.Object
  extended by net.jinx.action.input.robot.AbstractControl
      extended by net.jinx.action.input.robot.AxisControl
All Implemented Interfaces:
Control

public abstract class AxisControl
extends AbstractControl

AxisControl is an almost useless extension of AbstractControl. All it does is set the type of the Control to Control.TYPE_AXIS. All of the functionality of Axis is provided by AbstractControl. AxisControl expects and uses values in the range of -1 to 1.

API Stability: Alpha.


Field Summary
 
Fields inherited from interface net.jinx.action.input.robot.Control
TYPE_AXIS, TYPE_BUTTON, TYPE_SLIDER, TYPE_TOGGLE
 
Constructor Summary
protected AxisControl(java.lang.String name)
          Constructs a new AxisControl with the given name.
 
Method Summary
 
Methods inherited from class net.jinx.action.input.robot.AbstractControl
getName, getType, getValue, setValue, valueChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisControl

protected AxisControl(java.lang.String name)
Constructs a new AxisControl with the given name.

Parameters:
name - the name to use for this Control.