uavsim.graphics.controls.knobs
Class KnobProperties

java.lang.Object
  extended by uavsim.graphics.controls.A_ControlProperties
      extended by uavsim.graphics.controls.A_KnobProperties
          extended by uavsim.graphics.controls.knobs.KnobProperties

public class KnobProperties
extends A_KnobProperties

Defines the control properties for a knob.

Author:
Dan Tappan [22.06.11]

Field Summary
 
Fields inherited from class uavsim.graphics.controls.A_KnobProperties
_bodyScale
 
Fields inherited from class uavsim.graphics.controls.A_ControlProperties
_anchorRelative, _bodyColor, _label, _labelProperties, _outlineColor, _outlineScale
 
Constructor Summary
KnobProperties(CoordinateCartesianRelative anchorRelative, Scaler bodyScale, Scaler outlineScale, java.awt.Color bodyColor, java.awt.Color outlineColor, java.lang.String label, TextProperties labelProperties)
          Creates a knob control descriptor.
 
Method Summary
 
Methods inherited from class uavsim.graphics.controls.A_KnobProperties
getBodyScale
 
Methods inherited from class uavsim.graphics.controls.A_ControlProperties
getAnchorRelative, getBodyColor, getLabel, getLabelProperties, getOutlineColor, getOutlineScale, hasLabel, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KnobProperties

public KnobProperties(CoordinateCartesianRelative anchorRelative,
                      Scaler bodyScale,
                      Scaler outlineScale,
                      java.awt.Color bodyColor,
                      java.awt.Color outlineColor,
                      java.lang.String label,
                      TextProperties labelProperties)
Creates a knob control descriptor.

Parameters:
anchorRelative - - the center anchor relative to the center of the control's host instrument
bodyScale - - the relative scale of the body to its host's absolute size
outlineScale - - the relative scale of the outline to the body
bodyColor - - the body color
outlineColor - - the outline color
label - - the label, which may be empty
labelProperties - - the label properties