pilot.controls
Class OptionControl

java.lang.Object
  |
  +--pilot.controls.AbstractControl
        |
        +--pilot.controls.OptionControl
Direct Known Subclasses:
ACLights, AirRefuelDoor, AirSource, ALOW, ARDisconnectButton, ARNWSLight, ATTFPMswitch, ChaffFlares, Designate, DISCLight, DL, ECM, EjectionSeat, EPU, EWSCHAFF, EWSFLARE, EWSJMR, EWSmode, EWSPWR, FACK, FCC, FCR, FireGun, FLIR, FuelPumps, GPS, Hook, HUD, IFF, INS, INSTRmode, JettisonStores, JFS, LandingGear, LandingLights, LaserArm, LowSpeedWarning, MasterArm, MasterFuel, MasterLights, MasterMode, ML, MPO, NWS, ParkingBrakes, Pickle, Radio, RALT, RDYLight, RWR, SightingOption, Slew, SpeedBrakes, SteerpointType, TACANFunction, Throttle, ThrottleIdleDetent, UFC, WheelBrakes

public abstract class OptionControl
extends AbstractControl


Fields inherited from class pilot.controls.AbstractControl
choices_, controlClass_, name_, parent_, type_
 
Constructor Summary
OptionControl()
           
 
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

OptionControl

public OptionControl()
Method Detail

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.

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.