public class PullUpPoint extends AbstractCircularGraphic implements TacticalPoint, PreRenderable
Modifier and Type | Field and Description |
---|---|
protected Path |
bowtie
Path to draw the bowtie in the middle of the circle.
|
static double |
DEFAULT_RADIUS
Default radius, in meters, for the circle.
|
circle
maskedSymbolCode, OUTLINE_STIPPLE_FACTOR_ANTICIPATED, OUTLINE_STIPPLE_FACTOR_PRESENT, OUTLINE_STIPPLE_PATTERN, symbolCode
activeOverrides, 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 |
---|
PullUpPoint(String sidc)
Create a new point.
|
Modifier and Type | Method and Description |
---|---|
protected List<Position> |
asPositionList(LatLon... locations)
Convert a list of LatLon to a list of Positions at zero elevation.
|
protected Path |
createBowtie(DrawContext dc)
Create a path to draw the bowtie graphic in the middle of the circle.
|
protected void |
createLabels() |
protected Path |
createPath()
Create and configure the Path used to render this graphic.
|
protected void |
determineLabelPositions(DrawContext dc)
Determine the appropriate position for the graphic's labels.
|
protected void |
doRenderGraphic(DrawContext dc)
Render the polygon.
|
static List<String> |
getSupportedGraphics()
Indicates the graphics supported by this class.
|
protected void |
reset()
Invalidate the bowtie shape when the circle changes.
|
applyDelegateOwner, createShape, determineActiveAttributes, getModifier, getPosition, getPositions, getRadius, getReferencePosition, preRender, setModifier, setPosition, setPositions, setRadius
applyDefaultAttributes, createSymbol, getDefaultMaterial, getIdentifier, getOutlineStippleFactor, getOutlineStipplePattern, getStatus, getText, mustShowHostileIndicator, setStatus
addLabel, applyLabelAttributes, applyOverrideAttributes, computeGeometry, computeLabelInteriorOpacity, 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, setVisible
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, setPosition
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
preRender
protected Path bowtie
public static final double DEFAULT_RADIUS
public PullUpPoint(String sidc)
sidc
- Symbol code the identifies the graphic.protected List<Position> asPositionList(LatLon... locations)
locations
- Locations to convert to Positions.protected Path createBowtie(DrawContext dc)
dc
- Current draw context.protected void createLabels()
createLabels
in class AbstractTacticalGraphic
protected Path createPath()
protected void determineLabelPositions(DrawContext dc)
determineLabelPositions
in class AbstractTacticalGraphic
dc
- Current draw context.protected void doRenderGraphic(DrawContext dc)
doRenderGraphic
in class AbstractCircularGraphic
dc
- Current draw context.AbstractTacticalGraphic.doRenderTextModifiers(gov.nasa.worldwind.render.DrawContext)
,
AbstractTacticalGraphic.doRenderGraphicModifiers(gov.nasa.worldwind.render.DrawContext)
public static List<String> getSupportedGraphics()
protected void reset()
reset
in class AbstractCircularGraphic