|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.symbology.AbstractTacticalGraphic
gov.nasa.worldwind.symbology.milstd2525.AbstractMilStd2525TacticalGraphic
gov.nasa.worldwind.symbology.milstd2525.graphics.areas.AbstractRectangularGraphic
gov.nasa.worldwind.symbology.milstd2525.graphics.areas.RectangularFireSupportArea
public class RectangularFireSupportArea
Implementation of rectangular Fire Support graphics. This class implements the following graphics:
| Field Summary | |
|---|---|
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. |
| Fields inherited from class gov.nasa.worldwind.symbology.milstd2525.graphics.areas.AbstractRectangularGraphic |
|---|
positions, quad, shapeInvalid |
| Fields inherited from class gov.nasa.worldwind.symbology.milstd2525.AbstractMilStd2525TacticalGraphic |
|---|
maskedSymbolCode, OUTLINE_STIPPLE_FACTOR_ANTICIPATED, OUTLINE_STIPPLE_FACTOR_PRESENT, OUTLINE_STIPPLE_PATTERN, symbolCode |
| Fields inherited from class gov.nasa.worldwind.symbology.AbstractTacticalGraphic |
|---|
activeOverrides, activeShapeAttributes, DEFAULT_HIGHLIGHT_MATERIAL, DEFAULT_LABEL_INTERIOR_OPACITY, delegateOwner, frameTimestamp, highlightAttributes, highlighted, labelOffset, labels, modifiers, mustCreateLabels, normalAttributes, showGraphicModifiers, showHostileIndicator, showLocation, showTextModifiers, text, unitsFormat, visible |
| Constructor Summary | |
|---|---|
RectangularFireSupportArea(String sidc)
Create a new target. |
|
| Method Summary | |
|---|---|
protected void |
applyDefaultAttributes(ShapeAttributes attributes)
Apply defaults to the active attributes bundle. |
protected void |
createLabels()
Create labels for the graphic. |
protected void |
determineLabelPositions(DrawContext dc)
Determine positions for the start and end 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 |
getMainLabelTextAlign()
Indicates the text alignment to apply to the main label of this graphic. |
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. |
| Methods inherited from class gov.nasa.worldwind.symbology.milstd2525.graphics.areas.AbstractRectangularGraphic |
|---|
applyDelegateOwner, computeQuadSize, createShape, doRenderGraphic, getLength, getModifier, getPositions, getReferencePosition, getWidth, preRender, setLength, setModifier, setPositions, setWidth |
| Methods inherited from class gov.nasa.worldwind.symbology.milstd2525.AbstractMilStd2525TacticalGraphic |
|---|
createSymbol, getDefaultMaterial, getIdentifier, getOutlineStippleFactor, getOutlineStipplePattern, getStatus, getText, mustShowHostileIndicator, setStatus |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nasa.worldwind.symbology.TacticalQuad |
|---|
getLength, getWidth, setLength, setWidth |
| Methods inherited from interface gov.nasa.worldwind.symbology.TacticalGraphic |
|---|
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 |
| Methods inherited from interface gov.nasa.worldwind.render.Renderable |
|---|
render |
| Methods inherited from interface gov.nasa.worldwind.render.Highlightable |
|---|
isHighlighted, setHighlighted |
| Methods inherited from interface gov.nasa.worldwind.Movable |
|---|
getReferencePosition, move, moveTo |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
|---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from interface gov.nasa.worldwind.render.PreRenderable |
|---|
preRender |
| Field Detail |
|---|
protected static final String DIAGONAL_FILL_PATH
protected static final Offset LEFT_ALIGN_OFFSET
| Constructor Detail |
|---|
public RectangularFireSupportArea(String sidc)
sidc - Symbol code the identifies the graphic.| Method Detail |
|---|
protected void applyDefaultAttributes(ShapeAttributes attributes)
applyDefaultAttributes in class AbstractMilStd2525TacticalGraphicattributes - Attributes bundle to receive defaults.protected void createLabels()
createLabels in class AbstractTacticalGraphicprotected void determineLabelPositions(DrawContext dc)
AbstractTacticalGraphic
determineLabelPositions in class AbstractTacticalGraphicdc - Current draw context.protected Offset getDefaultLabelOffset()
getDefaultLabelOffset in class AbstractTacticalGraphicpublic static Set<String> getGraphicsWithTimeLabel()
protected Object getImageSource()
protected String getMainLabelTextAlign()
public static List<String> getSupportedGraphics()
protected boolean isFilled()
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||