public class PhaseLine extends AbstractMilStd2525TacticalGraphic
| Modifier and Type | Field and Description | 
|---|---|
| protected Path | pathPath used to render the line. | 
| protected static int | PLD_OUTLINE_STIPPLE_FACTORFactor applied to the stipple pattern used to draw the dashed line for a Probable Line of Deployment. | 
maskedSymbolCode, OUTLINE_STIPPLE_FACTOR_ANTICIPATED, OUTLINE_STIPPLE_FACTOR_PRESENT, OUTLINE_STIPPLE_PATTERN, symbolCodeactiveOverrides, activeShapeAttributes, DEFAULT_HIGHLIGHT_MATERIAL, DEFAULT_LABEL_INTERIOR_OPACITY, delegateOwner, dragEnabled, draggableSupport, frameTimestamp, highlightAttributes, highlighted, labelOffset, labels, modifiers, mustCreateLabels, normalAttributes, showGraphicModifiers, showHostileIndicator, showLocation, showTextModifiers, text, unitsFormat, visible| Constructor and Description | 
|---|
| PhaseLine(String sidc)Create a new Phase Line. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | applyDefaultAttributes(ShapeAttributes attributes)Apply defaults to the active attributes bundle. | 
| protected void | applyDelegateOwner(Object owner)Invoked each frame to apply to the current delegate owner to all renderable objects used to draw the graphic. | 
| protected void | createLabels()Create labels for the start and end of the path. | 
| protected Path | createPath()Create and configure the Path used to render this graphic. | 
| protected void | determineLabelPositions(DrawContext dc)Determine positions for the start and end labels. | 
| protected void | doRenderGraphic(DrawContext dc)Render this graphic, without modifiers. | 
| protected String | getGraphicLabel() | 
| Iterable<? extends Position> | getPositions()Indicates the positions of the control points that place and orient the graphic. | 
| Position | getReferencePosition()A position associated with the object that indicates its aggregate geographic position. | 
| static List<String> | getSupportedGraphics()Indicates the graphics supported by this class. | 
| void | setPositions(Iterable<? extends Position> positions)Specifies the positions of the control points that place and orient the graphic. | 
createSymbol, getDefaultMaterial, getIdentifier, getModifier, getOutlineStippleFactor, getOutlineStipplePattern, getStatus, getText, mustShowHostileIndicator, setModifier, setStatusaddLabel, applyLabelAttributes, applyOverrideAttributes, computeGeometry, computeLabelInteriorOpacity, determineActiveAttributes, determineDelegateOwner, determinePerFrameAttributes, doDrag, doRenderGraphicModifiers, doRenderTextModifiers, drag, getActiveDelegateOwner, getActiveOverrideAttributes, getActiveShapeAttributes, getAttributes, getDefaultLabelOffset, getDelegateOwner, getHighlightAttributes, getLabelMaterial, getLabelOffset, getUnitsFormat, isDragEnabled, isHighlighted, isShowGraphicModifiers, isShowHostileIndicator, isShowLocation, isShowTextModifiers, isVisible, move, moveTo, onModifierChanged, render, setAttributes, setDelegateOwner, setDragEnabled, setHighlightAttributes, setHighlighted, setLabelOffset, setShowGraphicModifiers, setShowHostileIndicator, setShowLocation, setShowTextModifiers, setText, setUnitsFormat, setVisibleaddPropertyChangeListener, 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, setValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributes, getDelegateOwner, getHighlightAttributes, getLabelOffset, getUnitsFormat, isShowGraphicModifiers, isShowHostileIndicator, isShowLocation, isShowTextModifiers, isVisible, setAttributes, setDelegateOwner, setHighlightAttributes, setLabelOffset, setShowGraphicModifiers, setShowHostileIndicator, setShowLocation, setShowTextModifiers, setText, setUnitsFormat, setVisiblerenderisHighlighted, setHighlightedaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesprotected Path path
protected static final int PLD_OUTLINE_STIPPLE_FACTOR
public PhaseLine(String sidc)
sidc - Symbol code the identifies the graphic.protected void applyDefaultAttributes(ShapeAttributes attributes)
AbstractMilStd2525TacticalGraphicapplyDefaultAttributes in class AbstractMilStd2525TacticalGraphicattributes - Attributes bundle to receive defaults.protected void applyDelegateOwner(Object owner)
applyDelegateOwner in class AbstractTacticalGraphicowner - Current delegate owner.protected void createLabels()
createLabels in class AbstractTacticalGraphicprotected Path createPath()
protected void determineLabelPositions(DrawContext dc)
determineLabelPositions in class AbstractTacticalGraphicdc - Current draw context.protected void doRenderGraphic(DrawContext dc)
doRenderGraphic in class AbstractTacticalGraphicdc - Current draw context.AbstractTacticalGraphic.doRenderTextModifiers(gov.nasa.worldwind.render.DrawContext), 
AbstractTacticalGraphic.doRenderGraphicModifiers(gov.nasa.worldwind.render.DrawContext)protected String getGraphicLabel()
public Iterable<? extends Position> getPositions()
public Position getReferencePosition()
public static List<String> getSupportedGraphics()
public void setPositions(Iterable<? extends Position> positions)
positions - Positions that orient the graphic. How many positions are returned depends on the type of
                  graphic. Some graphics require only a single position, others require many. The positions must
                  be specified in the same order as the control points defined by the symbology set's template for
                  this type of graphic.