public class AviationZone extends BasicArea
Modifier and Type | Field and Description |
---|---|
protected static Offset |
LABEL_OFFSET
Center text block on label position.
|
identityLabel1, identityLabel2, polygon
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 |
---|
AviationZone(String sidc)
Create a new aviation area.
|
Modifier and Type | Method and Description |
---|---|
protected String |
createLabelText()
Create the text for the main label on this graphic.
|
protected String |
doCreateLabelText(boolean includeAltitude)
Create text for the area's label.
|
protected Offset |
getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
protected String |
getGraphicLabel() |
protected String |
getLabelAlignment()
Indicates the alignment of the graphic's main label.
|
static List<String> |
getSupportedGraphics()
Indicates the graphics supported by this class.
|
applyDelegateOwner, createLabels, createPolygon, determineIdentityLabelPositions, determineLabelPositions, determineMainLabelPosition, doRenderGraphic, getPositionCount, getPositions, getReferencePosition, makeShapes, preRender, setPositions
applyDefaultAttributes, createSymbol, getDefaultMaterial, getIdentifier, getModifier, getOutlineStippleFactor, getOutlineStipplePattern, getStatus, getText, mustShowHostileIndicator, setModifier, setStatus
addLabel, applyLabelAttributes, applyOverrideAttributes, computeGeometry, computeLabelInteriorOpacity, determineActiveAttributes, determineDelegateOwner, determinePerFrameAttributes, doDrag, doRenderGraphicModifiers, doRenderTextModifiers, drag, getActiveDelegateOwner, getActiveOverrideAttributes, getActiveShapeAttributes, getAttributes, 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
protected static final Offset LABEL_OFFSET
public AviationZone(String sidc)
sidc
- Symbol code the identifies the graphic.protected String createLabelText()
BasicArea
createLabelText
in class BasicArea
protected String doCreateLabelText(boolean includeAltitude)
includeAltitude
- Indicates whether to include altitude information in the label (if the
SymbologyConstants.ALTITUDE_DEPTH modifier is set). Not all aviation area graphics support
the altitude modifier.protected Offset getDefaultLabelOffset()
AbstractTacticalGraphic
getDefaultLabelOffset
in class AbstractTacticalGraphic
protected String getGraphicLabel()
getGraphicLabel
in class BasicArea
protected String getLabelAlignment()
BasicArea
getLabelAlignment
in class BasicArea