public class Aviation extends AbstractAxisArrow
arrowPositions, finalPointWidthOfRoute, paths, positions
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
Modifier | Constructor and Description |
---|---|
|
Aviation(String sidc)
Create a new Aviation graphic.
|
protected |
Aviation(String sidc,
int numPaths)
Create a new Aviation graphic, composed of more than one path.
|
Modifier and Type | Method and Description |
---|---|
protected double |
createArrowHeadPositions(List<Position> leftPositions,
List<Position> rightPositions,
List<Position> arrowHeadPositions,
Globe globe)
Create positions that make up the arrow head.
|
static List<String> |
getSupportedGraphics()
Indicates the graphics supported by this class.
|
applyDelegateOwner, createLinePositions, createPath, createShapePositions, doRenderGraphic, getPositions, getReferencePosition, isFinalPointWidthOfRoute, setFinalPointWidthOfRoute, setPositions
applyDefaultAttributes, createSymbol, getDefaultMaterial, getIdentifier, getModifier, getOutlineStippleFactor, getOutlineStipplePattern, getStatus, getText, mustShowHostileIndicator, setModifier, setStatus
addLabel, applyLabelAttributes, applyOverrideAttributes, computeGeometry, computeLabelInteriorOpacity, createLabels, determineActiveAttributes, determineDelegateOwner, determineLabelPositions, 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
getAttributes, getDelegateOwner, getHighlightAttributes, getLabelOffset, getUnitsFormat, isShowGraphicModifiers, isShowHostileIndicator, isShowLocation, isShowTextModifiers, isVisible, setAttributes, setDelegateOwner, setHighlightAttributes, setLabelOffset, setShowGraphicModifiers, setShowHostileIndicator, setShowLocation, setShowTextModifiers, setText, setUnitsFormat, setVisible
render
isHighlighted, setHighlighted
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
public Aviation(String sidc)
sidc
- Symbol code the identifies the graphic.protected Aviation(String sidc, int numPaths)
sidc
- Symbol code the identifies the graphic.numPaths
- Number of paths to create.protected double createArrowHeadPositions(List<Position> leftPositions, List<Position> rightPositions, List<Position> arrowHeadPositions, Globe globe)
Pt N |\ Left line | \ ----------------| \ Pt 2 Pt 1' \ Pt 1 / ----------------| / Right line | / |/Pt N'
createArrowHeadPositions
in class AbstractAxisArrow
leftPositions
- List to collect positions on the left arrow line. This list receives the position where
the left line meets the arrow head.rightPositions
- List to collect positions on the right arrow line. This list receives the position
where the right line meets the arrow head.arrowHeadPositions
- List to collect positions that make up the arrow head. This list receives positions for
Pt. N, Pt. 1, and Pt. N', in that order.globe
- Current globe.