pilot.controls
Class IntervalControl

java.lang.Object
  |
  +--pilot.controls.AbstractControl
        |
        +--pilot.controls.IntervalControl
Direct Known Subclasses:
Airspeed, Altitude, ClimbingRate, Elevator, FuelFlow, GroundSpeed, Pitch, Roll, Rudder, RudderTrim

public abstract class IntervalControl
extends AbstractControl


Fields inherited from class pilot.controls.AbstractControl
choices_, controlClass_, name_, parent_, type_
 
Constructor Summary
IntervalControl()
           
 
Method Summary
 java.lang.Integer getControlClassifiedValue(java.lang.Object value)
          The method getControlClassifiedValue takes a value and maps it to a value class.
 void setChoices(java.util.Vector choices)
          The method setChoices defines the choices of the values that are possible for this control.
 
Methods inherited from class pilot.controls.AbstractControl
getChoices, getControlClass, getControlValue, getName, getParent, getType, setControlClass, setName, setParent, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntervalControl

public IntervalControl()
Method Detail

getControlClassifiedValue

public java.lang.Integer getControlClassifiedValue(java.lang.Object value)
The method getControlClassifiedValue takes a value and maps it to a value class.
Overrides:
getControlClassifiedValue in class AbstractControl
Parameters:
value - The measured value.
Returns:
The value class.

setChoices

public void setChoices(java.util.Vector choices)
The method setChoices defines the choices of the values that are possible for this control.
Overrides:
setChoices in class AbstractControl
Parameters:
choices - Vector with choices.