Package armyc2.c5isr.renderer.utilities
Class MilStdAttributes
- java.lang.Object
-
- armyc2.c5isr.renderer.utilities.MilStdAttributes
-
public class MilStdAttributes extends java.lang.Object
Symbol attribute constants to be used as keys in the Map when callingMilStdIconRenderer.RenderIcon(String, Map, Map)
orWebRenderer.RenderSymbol(String, String, String, String, String, String, double, String, Map, Map, int)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
Alpha
transparency value of the symbol with values from 0 - 255.static java.lang.String
AltitudeMode
The mode that altitude labels will be displayed in, the default value is AMSL.static java.lang.String
AltitudeUnits
The conversion factor and the label that you want all distances to display in.static java.lang.String
DistanceUnits
The conversion factor and the label that you want all distances to display in.static java.lang.String
DrawAsIcon
just draws the core symbolstatic java.lang.String
EngagementBarColor
If the engagement/target amplifier bar is to be used to designate targets, non-targets, and pruned or expired targets, a different coloring schema shall be used.static java.lang.String
FillColor
Fill color of the symbol.static java.lang.String
HideOptionalLabels
At the moment, this refers to the optional range fan labels.static java.lang.String
IconColor
Main color of internal icon.static java.lang.String
KeepUnitRatio
defaults to truestatic java.lang.String
LineColor
Line color of the symbol.static java.lang.String
LineWidth
Specifies the line width of the multipoint symbologystatic java.lang.String
OutlineColor
specify and outline color rather than letting renderer picking the best contrast color.static java.lang.String
OutlineSymbol
outline the symbol, true/falsestatic java.lang.String
PatternFillType
For internal usestatic java.lang.String
PatternScale
Multipoint features and patterns scale with line width (LineWidth
).static java.lang.String
PixelSize
size of the single point imagestatic java.lang.String
TextBackgroundColor
Specifies the color for the text background (color outline or fill)static java.lang.String
TextColor
Specifies the color for text labelsstatic java.lang.String
UseDashArray
If false, the renderer will create a bunch of little lines to create the "dash" effect (expensive but necessary for KML).static java.lang.String
UsePatternFill
For internal use
-
Constructor Summary
Constructors Constructor Description MilStdAttributes()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.String
getAttributeKey(java.lang.String attribute)
Takes a string representation of an attribute and returns the appropriate int key valuestatic java.lang.String
getAttributeName(java.lang.String attribute)
static java.util.ArrayList<java.lang.String>
GetAttributesList(java.lang.String symbolID)
static java.util.ArrayList<java.lang.String>
GetModifierList()
Deprecated.
-
-
-
Field Detail
-
LineColor
public static final java.lang.String LineColor
Line color of the symbol. hex value.- See Also:
- Constant Field Values
-
FillColor
public static final java.lang.String FillColor
Fill color of the symbol. hex value- See Also:
- Constant Field Values
-
IconColor
public static final java.lang.String IconColor
Main color of internal icon. Only relevant to framed symbols. hex value- See Also:
- Constant Field Values
-
PixelSize
public static final java.lang.String PixelSize
size of the single point image- See Also:
- Constant Field Values
-
KeepUnitRatio
public static final java.lang.String KeepUnitRatio
defaults to true- See Also:
- Constant Field Values
-
Alpha
public static final java.lang.String Alpha
transparency value of the symbol with values from 0 - 255.- See Also:
- Constant Field Values
-
OutlineSymbol
public static final java.lang.String OutlineSymbol
outline the symbol, true/false- See Also:
- Constant Field Values
-
OutlineColor
public static final java.lang.String OutlineColor
specify and outline color rather than letting renderer picking the best contrast color. hex value- See Also:
- Constant Field Values
-
DrawAsIcon
public static final java.lang.String DrawAsIcon
just draws the core symbol- See Also:
- Constant Field Values
-
LineWidth
public static final java.lang.String LineWidth
Specifies the line width of the multipoint symbology- See Also:
- Constant Field Values
-
TextColor
public static final java.lang.String TextColor
Specifies the color for text labels- See Also:
- Constant Field Values
-
TextBackgroundColor
public static final java.lang.String TextBackgroundColor
Specifies the color for the text background (color outline or fill)- See Also:
- Constant Field Values
-
UseDashArray
public static final java.lang.String UseDashArray
If false, the renderer will create a bunch of little lines to create the "dash" effect (expensive but necessary for KML). If true, it will be on the user to create the dash effect using the DashArray from the Stroke object from the ShapeInfo object.- See Also:
- Constant Field Values
-
AltitudeMode
public static final java.lang.String AltitudeMode
The mode that altitude labels will be displayed in, the default value is AMSL. This value acts as a label, appending whatever string that is passed in to the end of the altitude units. Currently only effective for multi-point graphics.- See Also:
- Constant Field Values
-
HideOptionalLabels
public static final java.lang.String HideOptionalLabels
At the moment, this refers to the optional range fan labels.- See Also:
- Constant Field Values
-
UsePatternFill
public static final java.lang.String UsePatternFill
For internal use- See Also:
- Constant Field Values
-
PatternFillType
public static final java.lang.String PatternFillType
For internal use- See Also:
- Constant Field Values
-
DistanceUnits
public static final java.lang.String DistanceUnits
The conversion factor and the label that you want all distances to display in. The conversion factor is converting from meters. The default unit is meters.
Must be in the form [conversionFactor],[label]. So for example converting to feet would be "3.28084,FT". The helper classDistanceUnit
can be used.- See Also:
- Constant Field Values
-
AltitudeUnits
public static final java.lang.String AltitudeUnits
The conversion factor and the label that you want all distances to display in. Conventionally, the conversion factor is converting from meters by default, but other values could be passed, like "1,KM" to use an unaltered value in kilometers.
Must be in the form [conversionFactor],[label]. So for example converting meters to feet would be "3.28084,FT". The helper classDistanceUnit
can be used. Currently only effective for multi-point graphics.- See Also:
- Constant Field Values
-
EngagementBarColor
public static final java.lang.String EngagementBarColor
If the engagement/target amplifier bar is to be used to designate targets, non-targets, and pruned or expired targets, a different coloring schema shall be used. Hostile tracks which are deemed targets shall have a red bar (RGB: 255, 0, 0) to indicate target. For hostile tracks deemed to be non-targets, white (RGB: 255, 255, 255) should be used to indicate non target. Finally, for hostile tracks which have been pruned or have expired shall be colored orange (RGB: 255, 120, 0). This attribute expects a hex string for the color- See Also:
- Constant Field Values
-
PatternScale
public static final java.lang.String PatternScale
Multipoint features and patterns scale with line width (LineWidth
).PatternScale
is the ratio of how much to increase features and patterns by with line width. default value isRendererSettings.getPatternScale()
- See Also:
- Constant Field Values
-
-
Method Detail
-
GetModifierList
public static java.util.ArrayList<java.lang.String> GetModifierList()
Deprecated.No Longer relevant- Returns:
ArrayList
-
GetAttributesList
public static java.util.ArrayList<java.lang.String> GetAttributesList(java.lang.String symbolID)
-
getAttributeName
public static java.lang.String getAttributeName(java.lang.String attribute)
- Parameters:
attribute
- constant like MilStdAttributes.LineColor- Returns:
- attribute name based on attribute constants
-
getAttributeKey
public static java.lang.String getAttributeKey(java.lang.String attribute)
Takes a string representation of an attribute and returns the appropriate int key value- Parameters:
attribute
- "LINECOLOR" will return MilStdAtttributes.LineColor- Returns:
Integer
value representing Attribute constant.
-
-