faa.tg.atcview.display
Class DisplayRotation

java.lang.Object
  extended by faa.tg.units.AMeasure
      extended by faa.tg.units.Angle
          extended by faa.tg.atcview.display.DisplayRotation
All Implemented Interfaces:
HasText, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<AMeasure>

public class DisplayRotation
extends Angle


 This class defines DisplayRotation which is the rotation of the display

 See the source:  DisplayRotation.java 

 

Version:
$Id: DisplayRotation.java,v 1.2 2008/07/16 14:01:09 lonnies Exp $
Author:
Dan Warburton, FAA/ACB-860
See Also:
Serialized Form

Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
(package private) static long serialVersionUID
           
 
Fields inherited from class faa.tg.units.Angle
D180_DIV_PI, DEG_1, DEG_180, DEG_270, DEG_30, DEG_330, DEG_5, DEG_60, DEG_90, DEG_NEG180, DEG_NEG270, DEG_NEG30, DEG_NEG5, DEG_NEG90, DEG_PER_RAD, NEG_NINETY_DEG, NEG_ONEEIGHTY_DEG, NINETY_DEG, ONEEIGHTY_DEG, PI, PI_DIV_180, PI_DIV_2, PI_DIV_4, PI_MUL_2, PI_MUL_4, RAD_PER_DEG, THIRTY_DEG, THREETHIRTY_DEG, TWOSEVENTY_DEG, ZERO
 
Fields inherited from class faa.tg.units.AMeasure
DEC0, DEC0_, DEC00, DEC000, DEC1, DEC1_, DEC12, DEC12_, DEC1L, DEC1L_, DEC2, DEC2_, DEC3, DEC3_, DEC4, DEC4_, DEC5, DEC5_, DEC6, DEC6_, DEC7, DEC7_, DEC9, DEC9_, itsValue, TIME_FRACTION
 
Constructor Summary
DisplayRotation(Angle angle)
          Constructor
DisplayRotation(double value, AngleUnits units)
          Constructor
DisplayRotation(java.lang.String str)
          This constructor turns a string into a valid display rotation.
 
Method Summary
 
Methods inherited from class faa.tg.units.Angle
abs, add, aeq, as, average, cos, diff, eq, ge, gt, isBetween, le, lt, main, parseDmsString, ratio, reciprocalAngle, removeDelimiters, sin, sub, tan, toDmsString, toRadialString, toString, toText
 
Methods inherited from class faa.tg.units.AMeasure
absoluteValue, add, as, as, clone, compareTo, debug, div, eq, equals, ge, getAUnit, getCanonicalUnit, getCanonicalValue, getInitialUnit, getUnitClass, gt, hashCode, isBetween, le, lt, mul, ratio, sub, toAMeasure, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values
Constructor Detail

DisplayRotation

public DisplayRotation(Angle angle)
Constructor

Parameters:
angle - the magnitude of DisplayRotation as a Angle

DisplayRotation

public DisplayRotation(double value,
                       AngleUnits units)
Constructor

Parameters:
value - the magnitude of DisplayRotation as a double
units - the units of the value that will be stored (ex: km)

DisplayRotation

public DisplayRotation(java.lang.String str)
                throws java.lang.NumberFormatException
This constructor turns a string into a valid display rotation.

Parameters:
str - The String to make into a valid display range.
Throws:
java.lang.NumberFormatException