public class AirfieldZone extends BasicArea
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Path> |
airfieldPaths
Paths used to draw the airfield graphic.
|
identityLabel1, identityLabel2, polygonmaskedSymbolCode, 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 |
|---|
AirfieldZone(java.lang.String sidc) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configurePath(Path path)
Configure a path in the airfield graphic.
|
protected java.util.List<Path> |
createAirfieldPaths(DrawContext dc)
Create shapes to draw the airfield graphic.
|
protected java.lang.String |
createLabelText()
Create the text for the main label on this graphic.
|
protected void |
doRenderGraphic(DrawContext dc)
Render the polygon.
|
static java.util.List<java.lang.String> |
getSupportedGraphics()
Indicates the graphics supported by this class.
|
protected void |
makeShapes(DrawContext dc)
Create shapes to draw the airfield graphic.
|
void |
setPositions(java.lang.Iterable<? extends Position> positions)
Specifies the positions of the control points that place and orient the graphic.
|
applyDelegateOwner, createLabels, createPolygon, determineIdentityLabelPositions, determineLabelPositions, determineMainLabelPosition, getGraphicLabel, getLabelAlignment, getPositionCount, getPositions, getReferencePosition, preRenderapplyDefaultAttributes, 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 java.util.List<Path> airfieldPaths
protected void configurePath(Path path)
path - Path to configure.protected java.util.List<Path> createAirfieldPaths(DrawContext dc)
dc - Current draw context.protected java.lang.String createLabelText()
createLabelText in class BasicAreaprotected void doRenderGraphic(DrawContext dc)
doRenderGraphic in class BasicAreadc - Current draw context.AbstractTacticalGraphic.doRenderTextModifiers(gov.nasa.worldwind.render.DrawContext),
AbstractTacticalGraphic.doRenderGraphicModifiers(gov.nasa.worldwind.render.DrawContext)public static java.util.List<java.lang.String> getSupportedGraphics()
protected void makeShapes(DrawContext dc)
makeShapes in class BasicAreadc - Current draw context.public void setPositions(java.lang.Iterable<? extends Position> positions)
setPositions in interface TacticalGraphicsetPositions in class BasicAreapositions - 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.