|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.text.AngleFormatStyle
Constant object identifiers of types of angle usage which defines
a style of presentation. A set of predefined style objects are
provided to be used when instantiating an AngleFormat.
| Field Summary | |
static AngleFormatStyle |
ALTITUDE
Identifier of an altitude angle format style. |
static AngleFormatStyle |
ANGLE
Identifier of a generic angle format style. |
static AngleFormatStyle |
AZIMUTH
Identifier of an azimuth angle format style. |
static AngleFormatStyle |
DECLINATION
Identifier of a declination angle format style. |
Affix |
directionAffix
The directional affix setting |
static AngleFormatStyle |
GEOLATITUDE
Identifier of a geographic latitude angle format style. |
static AngleFormatStyle |
GEOLONGITUDE
Identifier of a geographic longitude angle format style. |
static AngleFormatStyle |
HOURANGLE
Identifier of an hour angle format style. |
static AngleFormatStyle |
LATITUDE
Identifier of a latitude angle format style. |
static AngleFormatStyle |
LONGITUDE
Identifier of a longitude angle format style. |
Mult |
mult
The multiplier object that cooresponds to the desired maximum number of decimal digits |
java.lang.String |
name
The name of the angle format style |
AngleNorm |
norm
The normalization option identifier |
static AngleFormatStyle |
RADIANS
Identifier of a radian angle format style. |
static AngleFormatStyle |
REVOLUTIONS
Identifier of a revolution angle format style. |
AngleSignPair |
signPair
The sign convention identifier |
AngleUnit |
units
The least significant units to use in formatting |
boolean |
usePositive
The flag indicating that if the AngleSign is positive the positive symbol should be used. |
| Constructor Summary | |
protected |
AngleFormatStyle(java.lang.String name,
Affix directionAffix,
AngleSignPair signPair,
boolean usePositive,
AngleNorm norm,
AngleUnit units,
Mult mult)
Restricted constructor |
| Method Summary | |
java.lang.String |
toString()
Return the name of the AngleFormatStyle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final AngleFormatStyle ANGLE
Default Settings:
Sign: Numeric Prefix ( + / - ), no sign for a positive value Norm: None Units: Sexagesimal, Degrees-Minutes-Seconds Decimal: Milliseconds Example: 57°17'44.806"
public static final AngleFormatStyle LATITUDE
Default Settings:
Sign: Numeric Prefix ( + / - ), no sign for a positive value Norm: None Units: Sexagesimal, Degrees-Minutes-Seconds Decimal: Milliseconds Example: 57°17'44.806"
public static final AngleFormatStyle GEOLATITUDE
Default Settings:
Sign: Geographic Suffix ( N/S ), positive sign value used Norm: None Units: Sexagesimal, Degrees-Minutes-Seconds Decimal: Milliseconds Example: 57°17'44.806"N
public static final AngleFormatStyle LONGITUDE
Default Settings:
Sign: Numeric Prefix ( + / - ), no sign for a positive value Norm: Full Revolution Units: Sexagesimal, Degrees-Minutes-Seconds Decimal: Milliseconds Example: 57°17'44.806"
public static final AngleFormatStyle GEOLONGITUDE
Default Settings:
Sign: Geographic Suffix ( E / W ), positive sign value used Norm: Half Revolution Units: Sexagesimal, Degrees-Minutes-Seconds Decimal: Milliseconds Example: 57°17'44.806"E
public static final AngleFormatStyle AZIMUTH
Default Settings:
Sign: Numeric Prefix ( + / - ), no sign for a positive value Norm: Half Revolution Units: Decimal Degrees Decimal: Millis (of degree) Example: 57.296°
public static final AngleFormatStyle ALTITUDE
Default Settings:
Sign: Numeric Prefix ( + / - ), no sign for a positive value Norm: None Units: Decimal Degrees Decimal: Millis (of degree) Example: 57.296°
public static final AngleFormatStyle DECLINATION
Default Settings:
Sign: Numeric Prefix ( + / - ), positive sign value used Norm: None Units: Sexagesimal, Degrees-Minutes-Seconds Decimal: Milliseconds Example: +57°17'44.806"
public static final AngleFormatStyle HOURANGLE
Default Settings:
Sign: Numeric Prefix ( + / - ), no sign for a positive value Norm: Full Revolution Units: Sexagesimal, Hours-Minutes-Seconds Decimal: Milliseconds (of hour) Example: 3h49m10.987s
public static final AngleFormatStyle RADIANS
Default Settings:
Sign: Numeric Prefix ( + / - ), no sign for a positive value Norm: None Units: Decimal Radians Decimal: Micros (of radians) Example: 1.000000rad
public static final AngleFormatStyle REVOLUTIONS
Default Settings:
Sign: Numeric Prefix ( + / - ), no sign for a positive value Norm: None Units: Decimal Revolutions Decimal: Micros (of Radians) Example: 0.159155rev
public final java.lang.String name
public final Affix directionAffix
public final AngleSignPair signPair
public final boolean usePositive
public final AngleNorm norm
public final AngleUnit units
public final Mult mult
| Constructor Detail |
protected AngleFormatStyle(java.lang.String name,
Affix directionAffix,
AngleSignPair signPair,
boolean usePositive,
AngleNorm norm,
AngleUnit units,
Mult mult)
name - The name of the angle format styledirectionAffix - The directional affix settingsignPair - The sign symbol convention identifierusePositive - The flag indicating the use of the positive direction symbolnorm - The normalization option identifierunits - The least significant units to use in formattingmult - The multiplier object that cooresponds to the desired
maximum number of decimal digits| Method Detail |
public java.lang.String toString()
AngleFormatStyle
AngleFormatStyle
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||