Companion
Functions
Gets Basic Symbol ID which is the Symbol Set + Entity Code
Gets the basic Symbol ID for a 2525C symbol SFGPU---***** GGGPP---****X
Gets the anchor point for single point Control Measure as the anchor point isn't always they center of the symbol.
Converts a Java Date object into a properly formatted String for W or W1. DDHHMMSSZMONYYYY Field W: D = day, H = hour, M = minute, S = second, Z = Greenwich or local time, MON= month and Y = year.
For Control Measures, returns the default color for a symbol when it differs from the affiliation line color. If there is no default color, returns the value from {@link getLineColorOfAffiliation()}
Reads the Symbol ID string and returns the text that represents the echelon code.
Returns the fill color for the symbol based on its affiliation
Gets line color used if no line color has been set. The color is specified based on the affiliation of the symbol and whether it is a unit or not.
Returns the Standard Identity Modifier based on the Symbol ID
Returns the height ratio for the unit specified by the symbol ID Based on Figure 4 in 2525E.
Returns the width ratio for the unit specified by the symbol ID Based on Figure 4 in 2525E.
Checks if a symbol should be filled by default
Determines if a symbol, based on it's symbol ID, can have the specified modifier/amplifier.
Returns true if the unit has a rectangle frame
Returns true if Symbol ID represents a chemical, biological, radiological or nuclear incident.
Returns true if the symbol ID indicates the context is Exercise
Returns true if graphic is protection graphic (obstacles which render green)
Returns true if graphic is protection graphic (obstacles which render green) Assumes control measure symbol code where SS == 25
Returns true if the symbol is an installation
Determines if the Symbol can be rendered as a multipoint graphic and not just as an icon
Obstacles are generally required to have a green line color
Returns true if the symbol ID indicates the context is Simulation
Returns true if Symbol ID represents a Sonobuoy.
Checks if this is a single point control measure or meteorological graphic with a unique layout. Basically anything that's not an action point style graphic with modifiers
Determines if the symbol is a tactical graphic
Returns true if the symbol ID has the task for indicator
Control Measures and Tactical Graphics that have labels but not with the Action Point layout
Attempts to resolve a bad symbol ID into a value that can be found in {@link MSLookup}. If it fails, it will return the symbol code for a invalid symbol which is displayed as an inverted question mark (110098000010000000000000000000)