Package armyc2.c5isr.renderer.utilities
Class MilStdAttributes
java.lang.Object
armyc2.c5isr.renderer.utilities.MilStdAttributes
Symbol attribute constants to be used as keys in the Map when calling
MilStdIconRenderer.RenderIcon(String, Map, Map)
or WebRenderer.RenderSymbol(String, String, String, String, String, String, double, String, Map, Map, int)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
transparency value of the symbol.static final String
The mode that altitude labels will be displayed in, the default value is AMSL.static final String
The conversion factor and the label that you want all distances to display in.static final String
The conversion factor and the label that you want all distances to display in.static final String
just draws the core symbolstatic final String
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 final String
Fill color of the symbol.static final String
At the moment, this refers to the optional range fan labels.static final String
Main color of internal icon.static final String
defaults to truestatic final String
Line color of the symbol.static final String
Specifies the line width of the multipoint symbologystatic final String
specify and outline color rather than letting renderer picking the best contrast color.static final String
outline the symbol, true/falsestatic final String
For internal usestatic final String
size of the single point imagestatic final String
Specifies the color for the text background (color outline or fill)static final String
Specifies the color for text labelsstatic final String
If false, the renderer will create a bunch of little lines to create the "dash" effect (expensive but necessary for KML).static final String
For internal use -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getAttributeKey
(String attribute) Takes a string representation of an attribute and returns the appropriate int key valuestatic String
getAttributeName
(String attribute) GetAttributesList
(String symbolID) Deprecated.
-
Field Details
-
LineColor
Line color of the symbol. hex value.- See Also:
-
FillColor
Fill color of the symbol. hex value- See Also:
-
IconColor
Main color of internal icon. Only relevant to framed symbols. hex value- See Also:
-
PixelSize
size of the single point image- See Also:
-
KeepUnitRatio
defaults to true- See Also:
-
Alpha
transparency value of the symbol. values from 0.0 - 1.0- See Also:
-
OutlineSymbol
outline the symbol, true/false- See Also:
-
OutlineColor
specify and outline color rather than letting renderer picking the best contrast color. hex value- See Also:
-
DrawAsIcon
just draws the core symbol- See Also:
-
LineWidth
Specifies the line width of the multipoint symbology- See Also:
-
TextColor
Specifies the color for text labels- See Also:
-
TextBackgroundColor
Specifies the color for the text background (color outline or fill)- See Also:
-
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:
-
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:
-
HideOptionalLabels
At the moment, this refers to the optional range fan labels.- See Also:
-
UsePatternFill
For internal use- See Also:
-
PatternFillType
For internal use- See Also:
-
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:
-
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:
-
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:
-
-
Constructor Details
-
MilStdAttributes
public MilStdAttributes()
-
-
Method Details
-
GetModifierList
Deprecated.No Longer relevant- Returns:
ArrayList
-
GetAttributesList
-
getAttributeName
- Parameters:
attribute
- constant like MilStdAttributes.LineColor- Returns:
- attribute name based on attribute constants
-
getAttributeKey
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.
-
GetAttributesList(String)