Class ModifiersTG

java.lang.Object
armyc2.c2sd.renderer.utilities.ModifiersTG

public class ModifiersTG extends Object
This class contains keys to the modifiers. A number of these we feed off of the symbol code instead of using the property. But those modifiers remain for completeness. Tactical Graphics: P = points, L = lines, A = areas, BL = boundary lines, N = nuclear, B/C = bio/chem. G = graphic modifier so there is no length. Most of these we feed off of the symbol code so they aren't actually used.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The innermost part of a symbol that represents a warfighting object Here for completeness, not actually used as this comes from the symbol code.
    static final int
    For Tactical Graphics A numeric modifier that displays a minimum, maximum, or a specific distance (range, radius, width, length, etc.), in meters.
    static final int
    For Tactical Graphics A numeric modifier that displays an angle measured from true north to any other line in degrees.
    static final int
     
    static final int
    The basic graphic (see 5.5.1).
    static final int
    A graphic modifier in a boundary graphic that identifies command level (see 5.5.2.2, table V, and figures 10 and 12).
    static final int
    A text modifier for tactical graphics; content is implementation specific.
    static final int
    A text modifier for tactical graphics; content is implementation specific.
    static final int
    A text modifier for tactical graphics; content is implementation specific.
    static final int
     
    static final int
    A text modifier for tactical graphics; letters "ENY" denote hostile symbols.
    static final int
    A graphic modifier for CBRN events that identifies the direction of movement (see 5.5.2.1 and figure 11).
    static final int
     
    static final int
    A graphic modifier for points and CBRN events used when placing an object away from its actual location (see 5.5.2.3 and figures 10, 11, and 12).
    static final int
     
    static final int
    A text modifier that uniquely identifies a particular tactical graphic; track number.
    static final int
    A text modifier that uniquely identifies a particular tactical graphic; track number.
    static final int
    A text modifier that indicates nuclear weapon type.
    static final int
    A text modifier for units, equipment, and installations that displays DTG format: DDHHMMSSZMONYYYY or “O/O� for on order (see 5.5.2.6).
    static final int
    A text modifier for units, equipment, and installations that displays DTG format: DDHHMMSSZMONYYYY or “O/O� for on order (see 5.5.2.6).
    static final int
     
    static final int
    A text modifier that displays the minimum, maximum, and/or specific altitude (in feet or meters in relation to a reference datum), flight level, or depth (for submerged objects in feet below sea level).
    static final int
    A text modifier that displays a graphic’s location in degrees, minutes, and seconds (or in UTM or other applicable display format).
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    go from "T" or "T1" to integer constant values 9 and 10
    static String
    getModifierLetterCode(int modifier)
     
    Returns an Arraylist of the modifer names for tactical graphics
    static String
    getModifierName(int modifier)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • A_SYMBOL_ICON

      public static final int A_SYMBOL_ICON
      The innermost part of a symbol that represents a warfighting object Here for completeness, not actually used as this comes from the symbol code. SIDC positions 3, 5-104 TG: P,L,A,BL,N,B/C Length: G
      See Also:
    • B_ECHELON

      public static final int B_ECHELON
      The basic graphic (see 5.5.1). We feed off of the symbol code so this isn't used SIDC positions 11 and 12 TG: L,A,BL Length: G
      See Also:
    • C_QUANTITY

      public static final int C_QUANTITY
      A graphic modifier in a boundary graphic that identifies command level (see 5.5.2.2, table V, and figures 10 and 12). TG: N Length: 6
      See Also:
    • H_ADDITIONAL_INFO_1

      public static final int H_ADDITIONAL_INFO_1
      A text modifier for tactical graphics; content is implementation specific. TG: P,L,A,N,B/C Length: 20
      See Also:
    • H1_ADDITIONAL_INFO_2

      public static final int H1_ADDITIONAL_INFO_2
      A text modifier for tactical graphics; content is implementation specific. TG: P,L,A,N,B/C Length: 20
      See Also:
    • H2_ADDITIONAL_INFO_3

      public static final int H2_ADDITIONAL_INFO_3
      A text modifier for tactical graphics; content is implementation specific. TG: P,L,A,N,B/C Length: 20
      See Also:
    • N_HOSTILE

      public static final int N_HOSTILE
      A text modifier for tactical graphics; letters "ENY" denote hostile symbols. TG: P,L,A,BL,N,B/C Length: 3
      See Also:
    • Q_DIRECTION_OF_MOVEMENT

      public static final int Q_DIRECTION_OF_MOVEMENT
      A graphic modifier for CBRN events that identifies the direction of movement (see 5.5.2.1 and figure 11). TG: N,B/C Length: G
      See Also:
    • S_OFFSET_INDICATOR

      public static final int S_OFFSET_INDICATOR
      A graphic modifier for points and CBRN events used when placing an object away from its actual location (see 5.5.2.3 and figures 10, 11, and 12). TG: P,N,B/C Length: G
      See Also:
    • T_UNIQUE_DESIGNATION_1

      public static final int T_UNIQUE_DESIGNATION_1
      A text modifier that uniquely identifies a particular tactical graphic; track number. Nuclear: delivery unit (missile, aircraft, satellite, etc.) TG:P,L,A,BL,N,B/C Length: 15 (35 for BL)
      See Also:
    • T1_UNIQUE_DESIGNATION_2

      public static final int T1_UNIQUE_DESIGNATION_2
      A text modifier that uniquely identifies a particular tactical graphic; track number. Nuclear: delivery unit (missile, aircraft, satellite, etc.) TG:P,L,A,BL,N,B/C Length: 15 (35 for BL)
      See Also:
    • V_EQUIP_TYPE

      public static final int V_EQUIP_TYPE
      A text modifier that indicates nuclear weapon type. TG: N Length: 20
      See Also:
    • W_DTG_1

      public static final int W_DTG_1
      A text modifier for units, equipment, and installations that displays DTG format: DDHHMMSSZMONYYYY or “O/O� for on order (see 5.5.2.6). TG:P,L,A,N,B/C Length: 16
      See Also:
    • W1_DTG_2

      public static final int W1_DTG_2
      A text modifier for units, equipment, and installations that displays DTG format: DDHHMMSSZMONYYYY or “O/O� for on order (see 5.5.2.6). TG:P,L,A,N,B/C Length: 16
      See Also:
    • X_ALTITUDE_DEPTH

      public static final int X_ALTITUDE_DEPTH
      A text modifier that displays the minimum, maximum, and/or specific altitude (in feet or meters in relation to a reference datum), flight level, or depth (for submerged objects in feet below sea level). See 5.5.2.5 for content. TG:P,L,A,N,B/C Length: 14
      See Also:
    • Y_LOCATION

      public static final int Y_LOCATION
      A text modifier that displays a graphic’s location in degrees, minutes, and seconds (or in UTM or other applicable display format). Conforms to decimal degrees format: xx.dddddhyyy.dddddh where xx = degrees latitude yyy = degrees longitude .ddddd = decimal degrees h = direction (N, E, S, W) TG:P,L,A,BL,N,B/C Length: 19
      See Also:
    • AM_DISTANCE

      public static final int AM_DISTANCE
      For Tactical Graphics A numeric modifier that displays a minimum, maximum, or a specific distance (range, radius, width, length, etc.), in meters. 0 - 999,999 meters TG: P.L.A Length: 6
      See Also:
    • AN_AZIMUTH

      public static final int AN_AZIMUTH
      For Tactical Graphics A numeric modifier that displays an angle measured from true north to any other line in degrees. 0 - 359 degrees TG: P.L.A Length: 3
      See Also:
    • SYMBOL_FILL_IDS

      public static final int SYMBOL_FILL_IDS
      See Also:
    • LENGTH

      public static final int LENGTH
      See Also:
    • WIDTH

      public static final int WIDTH
      See Also:
    • RADIUS

      public static final int RADIUS
      See Also:
    • ANGLE

      public static final int ANGLE
      See Also:
  • Constructor Details

  • Method Details

    • GetModifierList

      public static ArrayList<Integer> GetModifierList()
      Returns an Arraylist of the modifer names for tactical graphics
      Returns:
    • getModifierName

      public static String getModifierName(int modifier)
      Parameters:
      modifier - like ModifiersTG.C_QUANTITY
      Returns:
      modifier name based on mofidier constants
    • getModifierLetterCode

      public static String getModifierLetterCode(int modifier)
      Parameters:
      modifier - like ModifiersTG.C_QUANTITY
      Returns:
      modifier name based on mofidier constants
    • getModifierKey

      public static int getModifierKey(String modLetter)
      go from "T" or "T1" to integer constant values 9 and 10
      Parameters:
      modLetter -
      Returns: