|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jinx.action.input.robot.AbstractControl
net.jinx.action.input.robot.SliderControl
public abstract class SliderControl
SliderControl is an AbstractControl extension that expects input values from
zero to one, much like a throttle. It has magnitude but not direction.
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 |
SliderControl(java.lang.String name)
Constructs a new SliderControl with the given name. |
| Method Summary | |
|---|---|
void |
setValue(float value)
Clamps the values from zero to one. |
| Methods inherited from class net.jinx.action.input.robot.AbstractControl |
|---|
getName, getType, getValue, valueChange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SliderControl(java.lang.String name)
name - the name to use for this Control.| Method Detail |
|---|
public void setValue(float value)
setValue in interface ControlsetValue in class AbstractControlvalue - the new value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||