gov.nasa.worldwind.symbology.milstd2525.graphics.areas
Class RectangularPositionArea
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.symbology.AbstractTacticalGraphic
gov.nasa.worldwind.symbology.milstd2525.AbstractMilStd2525TacticalGraphic
gov.nasa.worldwind.symbology.milstd2525.graphics.areas.AbstractRectangularGraphic
gov.nasa.worldwind.symbology.milstd2525.graphics.areas.RectangularPositionArea
- All Implemented Interfaces:
- AVList, Movable, Highlightable, PreRenderable, Renderable, MilStd2525TacticalGraphic, TacticalGraphic, TacticalQuad
public class RectangularPositionArea
- extends AbstractRectangularGraphic
Implementation of the Position Area for Artillery, Rectangular graphic (2.X.4.3.2.6.1).
| Fields inherited from class gov.nasa.worldwind.symbology.AbstractTacticalGraphic |
activeOverrides, activeShapeAttributes, DEFAULT_HIGHLIGHT_MATERIAL, DEFAULT_LABEL_INTERIOR_OPACITY, delegateOwner, frameTimestamp, highlightAttributes, highlighted, labelOffset, labels, modifiers, mustCreateLabels, normalAttributes, showGraphicModifiers, showHostileIndicator, showLocation, showTextModifiers, text, unitsFormat, visible |
| Methods inherited from class gov.nasa.worldwind.symbology.milstd2525.graphics.areas.AbstractRectangularGraphic |
applyDelegateOwner, computeQuadSize, createShape, doRenderGraphic, getLength, getModifier, getPositions, getReferencePosition, getWidth, preRender, setLength, setModifier, setPositions, setWidth |
| Methods inherited from class gov.nasa.worldwind.symbology.AbstractTacticalGraphic |
addLabel, applyLabelAttributes, applyOverrideAttributes, computeGeometry, computeLabelInteriorOpacity, determineActiveAttributes, determineDelegateOwner, determinePerFrameAttributes, doRenderGraphicModifiers, doRenderTextModifiers, getActiveDelegateOwner, getActiveOverrideAttributes, getActiveShapeAttributes, getAttributes, getDefaultLabelOffset, getDelegateOwner, getHighlightAttributes, getLabelMaterial, getLabelOffset, getUnitsFormat, isHighlighted, isShowGraphicModifiers, isShowHostileIndicator, isShowLocation, isShowTextModifiers, isVisible, move, moveTo, onModifierChanged, render, setAttributes, setDelegateOwner, setHighlightAttributes, setHighlighted, setLabelOffset, setShowGraphicModifiers, setShowHostileIndicator, setShowLocation, setShowTextModifiers, setText, setUnitsFormat, setVisible |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nasa.worldwind.symbology.TacticalGraphic |
getAttributes, getDelegateOwner, getHighlightAttributes, getIdentifier, getLabelOffset, getText, getUnitsFormat, isShowGraphicModifiers, isShowHostileIndicator, isShowLocation, isShowTextModifiers, isVisible, setAttributes, setDelegateOwner, setHighlightAttributes, setLabelOffset, setShowGraphicModifiers, setShowHostileIndicator, setShowLocation, setShowTextModifiers, setText, setUnitsFormat, setVisible |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
RectangularPositionArea
public RectangularPositionArea(String sidc)
- Create a new target.
- Parameters:
sidc - Symbol code the identifies the graphic.
createLabels
protected void createLabels()
- Create labels for the start and end of the path.
- Overrides:
createLabels in class AbstractTacticalGraphic
determineLabelPositions
protected void determineLabelPositions(DrawContext dc)
- Description copied from class:
AbstractTacticalGraphic
- Determine positions for the start and end labels.
- Overrides:
determineLabelPositions in class AbstractTacticalGraphic
- Parameters:
dc - Current draw context.
getSupportedGraphics
public static List<String> getSupportedGraphics()
- Indicates the graphics supported by this class.
- Returns:
- List of masked SIDC strings that identify graphics that this class supports.