public interface MilStd2525TacticalGraphic extends TacticalGraphic
Field | Modifier key | Data type | Description |
---|---|---|---|
A | SymbologyConstants.SYMBOL | String | SIDC for a MIL-STD-2525 Tactical Symbol |
B | SymbologyConstants.ECHELON | String | Echelon |
C | SymbologyConstants.QUANTITY | String | Quantity |
H | SymbologyConstants.ADDITIONAL_INFO | String | Additional information |
Q | SymbologyConstants.DIRECTION_OF_MOVEMENT | Angle | Direction indicator |
T | SymbologyConstants.UNIQUE_DESIGNATION | String | Unique designation |
V | SymbologyConstants.TYPE | String | Type |
W | SymbologyConstants.DATE_TIME_GROUP | String | Date/time |
X | SymbologyConstants.ALTITUDE_DEPTH | Double | Altitude/depth |
AM | SymbologyConstants.DISTANCE | Double | Radius, length or width of rectangle. |
AN | SymbologyConstants.AZIMUTH | Angle | Azimuth |
AVList modifiers = new AVListImpl(); modifiers.setValue(SymbologyConstants.UNIQUE_DESIGNATION, "X469"); // Field T modifiers.setValue(SymbologyConstants.DATE_TIME_GROUP, "10095900ZJAN92); // Field W modifiers.setValue(SymbologyConstants.ADDITIONAL_INFO, "Anthrax Suspected"); // Field H modifiers.setValue(SymbologyConstants.DIRECTION_OF_MOVEMENT, Angle.fromDegrees(30.0)); // Field Q Position position = Position.fromDegrees(35.1026, -118.348, 0); // Create the graphic with the modifier list TacticalGraphic graphic = factory.createGraphic("GHMPNEB----AUSX", positions, modifiers);Some graphics support multiple instances of a modifier. For example, 2525 uses the field code W for a date/time modifier. Some graphics support multiple timestamps, in which case the fields are labeled W, W1, W2, etc. An application can pass an
Iterable
to setModifier
if multiple values are required to specify the
modifier. Here's an example of how to specify two timestamps:
String startDate = ... String endData = ... graphic.setModifier(SymbologyConstants.DATE_TIME_GROUP, Arrays.asList(startDate, endDate));
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStatus()
Indicates the current value of graphic's Status/Operational Condition field.
|
void |
setStatus(java.lang.String value)
Specifies this graphic's Status/Operational Condition field.
|
getAttributes, getDelegateOwner, getHighlightAttributes, getIdentifier, getLabelOffset, getModifier, getPositions, getText, getUnitsFormat, isShowGraphicModifiers, isShowHostileIndicator, isShowLocation, isShowTextModifiers, isVisible, setAttributes, setDelegateOwner, setHighlightAttributes, setLabelOffset, setModifier, setPositions, setShowGraphicModifiers, setShowHostileIndicator, setShowLocation, setShowTextModifiers, setText, setUnitsFormat, setVisible
render
isHighlighted, setHighlighted
getReferencePosition, move, moveTo
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
java.lang.String getStatus()
setStatus(String)
void setStatus(java.lang.String value)
value
- the new value for the Status/Operational Condition field.java.lang.IllegalArgumentException
- if the specified value is null
or is not one of the accepted status
values.