public class IrregularFireSupportArea extends BasicArea
Modifier and Type | Field and Description |
---|---|
protected static String |
DIAGONAL_FILL_PATH
Path to the image used for the polygon fill pattern.
|
protected static Offset |
LEFT_ALIGN_OFFSET
Center text block on label position when the text is left aligned.
|
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 |
---|
IrregularFireSupportArea(String sidc)
Create the area graphic.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyDefaultAttributes(ShapeAttributes attributes)
Apply defaults to the active attributes bundle.
|
protected Position |
computeTimeLabelPosition(DrawContext dc)
Determine the position of the time range label.
|
protected void |
createLabels() |
protected void |
determineLabelPositions(DrawContext dc)
Determine the appropriate position for the graphic's labels.
|
protected Offset |
getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
static Set<String> |
getGraphicsWithTimeLabel()
Indicates the function IDs of rectangular Fire Support area graphics that display a date/time range as a separate
label at the left side of the rectangle.
|
protected Object |
getImageSource()
Indicates the source of the image that provides the polygon fill pattern.
|
protected String |
getLabelAlignment()
Indicates the alignment of the graphic's main label.
|
static List<String> |
getSupportedGraphics()
Indicates the graphics supported by this class.
|
protected boolean |
isFilled()
Indicates whether or not the polygon must be filled with a diagonal line pattern.
|
applyDelegateOwner, createLabelText, createPolygon, determineIdentityLabelPositions, determineMainLabelPosition, doRenderGraphic, getGraphicLabel, getPositionCount, getPositions, getReferencePosition, makeShapes, preRender, setPositions
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 String DIAGONAL_FILL_PATH
protected static final Offset LEFT_ALIGN_OFFSET
public IrregularFireSupportArea(String sidc)
sidc
- Symbol code the identifies the graphic.protected void applyDefaultAttributes(ShapeAttributes attributes)
applyDefaultAttributes
in class AbstractMilStd2525TacticalGraphic
attributes
- Attributes bundle to receive defaults.protected Position computeTimeLabelPosition(DrawContext dc)
dc
- Current draw context.protected void createLabels()
createLabels
in class BasicArea
protected void determineLabelPositions(DrawContext dc)
BasicArea
determineLabelPositions
in class BasicArea
dc
- Current draw context.protected Offset getDefaultLabelOffset()
getDefaultLabelOffset
in class AbstractTacticalGraphic
public static Set<String> getGraphicsWithTimeLabel()
protected Object getImageSource()
protected String getLabelAlignment()
getLabelAlignment
in class BasicArea
public static List<String> getSupportedGraphics()
protected boolean isFilled()