Package gov.nasa.worldwind.symbology
Class AbstractTacticalSymbol
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.WWObjectImpl
-
- gov.nasa.worldwind.symbology.AbstractTacticalSymbol
-
- All Implemented Interfaces:
AVList,Draggable,MessageListener,Movable,Highlightable,Renderable,TacticalSymbol,WWObject,java.beans.PropertyChangeListener,java.util.EventListener
- Direct Known Subclasses:
EchelonSymbol,ForwardEdgeOfBattleArea.FEBASymbol,LimitedAccessSymbol,MilStd2525TacticalSymbol,TacticalGraphicSymbol
public abstract class AbstractTacticalSymbol extends WWObjectImpl implements TacticalSymbol, Movable, Draggable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractTacticalSymbol.IconAtlasElementprotected static classAbstractTacticalSymbol.IconSourceprotected static classAbstractTacticalSymbol.IconTextureprotected static classAbstractTacticalSymbol.Labelprotected static classAbstractTacticalSymbol.Lineprotected classAbstractTacticalSymbol.OrderedSymbol-
Nested classes/interfaces inherited from interface gov.nasa.worldwind.symbology.TacticalSymbol
TacticalSymbol.LODSelector
-
-
Field Summary
Fields Modifier and Type Field Description protected TacticalSymbolAttributesactiveAttrsIndicates this symbol's currently active attributes.protected WWTextureactiveIconTextureprotected AVListactiveModifiersModifiers active this frame.protected intaltitudeModeIndicates this symbol's altitude mode.protected OGLStackHandlerBEogshSupport for setting up and restoring OpenGL state during rendering.protected java.util.List<AbstractTacticalSymbol.IconAtlasElement>currentGlyphsprotected java.util.List<AbstractTacticalSymbol.Label>currentLabelsprotected java.util.List<AbstractTacticalSymbol.Line>currentLinesprotected static doubleDEFAULT_DEPTH_OFFSETThe default depth offset in device independent depth units: -8200.protected static TextureAtlasDEFAULT_GLYPH_ATLASThe default glyph texture atlas.protected static intDEFAULT_LABEL_LINESThe default number of label lines to expect when computing the minimum size of the text layout rectangle.protected static longDEFAULT_MAX_TIME_SINCE_LAST_USEDstatic UnitsFormatDEFAULT_UNITS_FORMATDefault unit format.protected static TacticalSymbolAttributesdefaultAttrsThe attributes used if attributes are not specified.protected java.lang.ObjectdelegateOwnerIndicates an object to attach to the picked object list instead of this symbol.protected java.lang.DoubledepthOffsetprotected booleandragEnabledDragging support properties.protected DraggableSupportdraggableSupportprotected booleanenableBatchPickingprotected booleanenableBatchRenderingprotected java.lang.StringformattedPositionCurrent symbol position, formatted using the current unit format.protected longframeNumberThe frame used to calculate this symbol's per-frame values.protected TextureAtlasglyphAtlasprotected java.util.Map<java.lang.String,AbstractTacticalSymbol.IconAtlasElement>glyphMapprotected TacticalSymbolAttributeshighlightAttrsIndicates this symbol's highlight attributes.protected booleanhighlightedIndicates whether this symbol is highlighted.protected OffseticonOffsetprotected java.awt.RectangleiconRectprotected IconRetrievericonRetrieverprotected SizeiconSizeprotected WWTextureiconTextureprotected static java.lang.StringLAYOUT_ABSOLUTEprotected static java.lang.StringLAYOUT_NONEprotected static java.lang.StringLAYOUT_RELATIVEstatic java.lang.StringLOADING_IMAGE_PATHThe image file displayed while the icon is loading.protected TacticalSymbol.LODSelectorLODSelectorThe LOD selector specified by the application, or null if none specified (the default).protected static intMAX_SYMBOL_DIMENSIONMaximum expected size of a symbol, used to estimate screen bounds for view frustum culling.protected longmaxTimeSinceLastUsedprotected IconRetrievermodifierRetrieverprotected AVListmodifiersIndicates the current text and graphic modifiers assigned to this symbol.protected TacticalSymbolAttributesnormalAttrsIndicates this symbol's normal (as opposed to highlight) attributes.protected Offsetoffsetprotected LayerpickLayerPer-frame layer indicating this symbol's layer when its ordered renderable was created.protected PickSupportpickSupportSupport for setting up and restoring picking state, and resolving the picked object.protected PositionpositionIndicates this symbol's geographic position.protected booleanshowGraphicModifiersIndicates whether this symbol draws its supplemental graphic modifiers.protected booleanshowHostileIndicatorIndicates whether or not to display the implicit hostile indicator modifier.protected booleanshowLocationIndicates whether or not to display the implicit location modifier.protected booleanshowTextModifiersIndicates whether this symbol draws its supplemental text modifiers.protected java.awt.RectanglestaticLayoutRectLayout rect computed from the icon and static modifiers.protected java.awt.RectanglestaticScreenRectScreen rect computed from the icon and static modifiers.protected AbstractTacticalSymbol.OrderedSymbolthisFramesOrderedSymbolprotected UnitsFormatunitsFormatUnit format used to format location and altitude for text modifiers.protected booleanunresolvedGlyphIndicates that one or more glyphs have not been resolved.protected booleanvisibleIndicates whether this symbol is drawn when in view.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractTacticalSymbol()Constructs a new symbol with no position.protectedAbstractTacticalSymbol(Position position)Constructs a new symbol with the specified position.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddGlyph(DrawContext dc, Offset offset, Offset hotspot, java.lang.String modifierCode, AVList retrieverParams, java.lang.Object layoutMode, AbstractTacticalSymbol.OrderedSymbol osym)protected voidaddGlyph(DrawContext dc, Offset offset, Offset hotspot, java.lang.String modifierCode, AbstractTacticalSymbol.OrderedSymbol osym)protected voidaddLabel(DrawContext dc, Offset offset, Offset hotspot, java.lang.String modifierText, AbstractTacticalSymbol.OrderedSymbol osym)protected voidaddLabel(DrawContext dc, Offset offset, Offset hotspot, java.lang.String modifierText, java.awt.Font font, java.awt.Color color, java.lang.Object layoutMode, AbstractTacticalSymbol.OrderedSymbol osym)protected voidaddLine(DrawContext dc, Offset offset, java.util.List<? extends java.awt.geom.Point2D> points, AbstractTacticalSymbol.OrderedSymbol osym)protected voidaddLine(DrawContext dc, Offset offset, java.util.List<? extends java.awt.geom.Point2D> points, java.lang.Object layoutMode, int numPointsInLayout, AbstractTacticalSymbol.OrderedSymbol osym)protected voidapplyImplicitModifiers(AVList modifiers)Add implicit modifiers to the modifier list.protected AVListassembleIconRetrieverParameters(AVList params)protected voidbeginDrawing(DrawContext dc, int attrMask)protected java.awt.DimensioncomputeMinTextLayout(DrawContext dc, AVList modifiers)Compute the dimension of the minimum layout rectangle for the text modifiers.A minimum dimension is enforced to prevent the text from overlapping if the symbol is scaled to a very small size.protected voidcomputeScale(AbstractTacticalSymbol.OrderedSymbol osym)protected voidcomputeScaledBounds(DrawContext dc, AVList modifiers, AbstractTacticalSymbol.OrderedSymbol osym)Compute the bounds of symbol after the scale has been applied.protected java.awt.RectanglecomputeScaledRect(java.awt.Rectangle rect, java.awt.Dimension maxDimension, double scaleX, double scaleY)protected java.awt.RectanglecomputeScreenExtent(AbstractTacticalSymbol.OrderedSymbol osym)protected voidcomputeSymbolPoints(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)protected voidcomputeTransform(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)protected PickedObjectcreatePickedObject(int colorCode)protected voiddetermineActiveAttributes()protected voiddoDrag(DragContext dragContext)protected voiddoDrawOrderedRenderable(DrawContext dc, PickSupport pickCandidates, AbstractTacticalSymbol.OrderedSymbol osym)voiddrag(DragContext dragContext)Drag the object given the providedDragContext.protected voiddraw(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)protected voiddrawBatched(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol firstSymbol)protected voiddrawGlyphs(DrawContext dc)protected voiddrawGraphicModifiers(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)protected voiddrawIcon(DrawContext dc)protected voiddrawLabels(DrawContext dc)protected voiddrawLines(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)protected voiddrawOrderedRenderable(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)protected voiddrawTextModifiers(DrawContext dc)protected voidendDrawing(DrawContext dc)protected TacticalSymbolAttributesgetActiveAttributes()intgetAltitudeMode()Indicates this symbol's altitude mode.TacticalSymbolAttributesgetAttributes()Returns this symbol's normal (as opposed to highlight) attributes.java.lang.ObjectgetDelegateOwner()Indicates the delegate owner of this symbol.protected java.lang.DoublegetDepthOffset()protected java.lang.StringgetFormattedPosition()Indicates the symbol's current position, formatted according to the current UnitsFormat.protected AbstractTacticalSymbol.IconAtlasElementgetGlyph(java.lang.String modifierCode, AVList retrieverParams)protected TextureAtlasgetGlyphAtlas()TacticalSymbolAttributesgetHighlightAttributes()Returns this symbol's highlight attributes.protected IconRetrievergetIconRetriever()TacticalSymbol.LODSelectorgetLODSelector()Indicates this symbol's level of detail selector.protected intgetMaxLabelLines(AVList modifiers)protected intgetMaxSymbolDimension()Indicates the maximum expected size of a rendered tactical symbol.java.lang.ObjectgetModifier(java.lang.String modifier)Indicates the current value of a text or graphic modifier.protected IconRetrievergetModifierRetriever()OffsetgetOffset()Indicates a location within the symbol to align with the symbol point.PositiongetPosition()Indicates this symbol's geographic position.PositiongetReferencePosition()A position associated with the object that indicates its aggregate geographic position.UnitsFormatgetUnitsFormat()Indicates the unit format used to format values in text modifiers.protected booleanintersectsFrustum(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)booleanisDragEnabled()Indicates whether the object is enabled for dragging.booleanisEnableBatchPicking()booleanisEnableBatchRendering()booleanisHighlighted()Indicates whether to highlight the shape.booleanisShowGraphicModifiers()Indicates whether this symbol draws its supplemental graphic modifiers.booleanisShowHostileIndicator()Indicates whether or not to display an indicator when the symbol represents a hostile entity.booleanisShowLocation()Indicates whether or not to display this symbol's location as a text modifier.booleanisShowTextModifiers()Indicates whether this symbol draws its supplemental text modifiers.booleanisVisible()Indicates whether this symbol is drawn when in view.protected voidlayout(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)protected voidlayoutDynamicModifiers(DrawContext dc, AVList modifiers, AbstractTacticalSymbol.OrderedSymbol osym)Layout dynamic modifiers around the symbol.protected voidlayoutGraphicModifiers(DrawContext dc, AVList modifiers, AbstractTacticalSymbol.OrderedSymbol osym)Layout static graphic modifiers around the symbol.protected voidlayoutIcon(DrawContext dc, AbstractTacticalSymbol.IconSource source, AbstractTacticalSymbol.OrderedSymbol osym)protected java.awt.RectanglelayoutLabelRect(Offset offset, Offset hotspot, java.awt.Dimension size, java.lang.Object layoutMode, AbstractTacticalSymbol.OrderedSymbol osym)Layout a label rectangle relative to the current layout.protected java.util.List<? extends java.awt.geom.Point2D>layoutPoints(Offset offset, java.util.List<? extends java.awt.geom.Point2D> points, java.lang.Object layoutMode, int numPointsInLayout, AbstractTacticalSymbol.OrderedSymbol osym)protected java.awt.RectanglelayoutRect(Offset offset, Offset hotspot, java.awt.Dimension size, java.lang.Object layoutMode, AbstractTacticalSymbol.OrderedSymbol osym)Layout a rectangle relative to the current layout.protected voidlayoutStaticModifiers(DrawContext dc, AVList modifiers, AbstractTacticalSymbol.OrderedSymbol osym)Layout static modifiers around the symbol.protected voidlayoutTextModifiers(DrawContext dc, AVList modifiers, AbstractTacticalSymbol.OrderedSymbol osym)Layout static text modifiers around the symbol.protected voidmakeOrderedRenderable(DrawContext dc)voidmove(Position delta)Shift the shape over the globe's surface while maintaining its original azimuth, its orientation relative to North.voidmoveTo(Position position)Move the shape over the globe's surface while maintaining its original azimuth, its orientation relative to North.protected booleanmustDrawGraphicModifiers(DrawContext dc)protected booleanmustDrawIcon(DrawContext dc)protected booleanmustDrawTextModifiers(DrawContext dc)protected booleanmustLayout(AbstractTacticalSymbol.IconSource iconSource, AVList modifiers)Determines if the icon layout or static modifier layout must be computed.voidpick(DrawContext dc, java.awt.Point pickPoint, AbstractTacticalSymbol.OrderedSymbol osym)protected voidprepareToDraw(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)protected voidremoveDeadModifiers(long now)voidrender(DrawContext dc)Causes thisRenderableto render itself using the provided draw context.protected voidreset()Invalidate the symbol layout, causing it to be recomputed on the next frame.voidsetAltitudeMode(int altitudeMode)Specifies this symbol's altitude mode.voidsetAttributes(TacticalSymbolAttributes normalAttrs)Specifies this symbol's normal (as opposed to highlight) attributes.voidsetDelegateOwner(java.lang.Object owner)Specifies the delegate owner of this symbol.protected voidsetDepthOffset(java.lang.Double depthOffset)voidsetDragEnabled(boolean enabled)Controls whether the object is enabled for dragging.voidsetEnableBatchPicking(boolean enableBatchPicking)voidsetEnableBatchRendering(boolean enableBatchRendering)protected voidsetGlyphAtlas(TextureAtlas atlas)voidsetHighlightAttributes(TacticalSymbolAttributes highlightAttrs)Specifies this symbol's highlight attributes.voidsetHighlighted(boolean highlighted)Specifies whether to highlight the shape.protected voidsetIconRetriever(IconRetriever retriever)voidsetLODSelector(TacticalSymbol.LODSelector LODSelector)Specifies this symbols level of detail selector.voidsetModifier(java.lang.String modifier, java.lang.Object value)Specifies the value of a text or graphic modifier.protected voidsetModifierRetriever(IconRetriever retriever)voidsetOffset(Offset offset)Specifies a location within the tactical symbol to align with the symbol point.voidsetPosition(Position position)Specifies this symbol's geographic position.voidsetShowGraphicModifiers(boolean showGraphicModifiers)Specifies whether to draw this symbol's supplemental graphic modifiers.voidsetShowHostileIndicator(boolean show)Specifies whether or not to display an indicator when the symbol represents a hostile entity.voidsetShowLocation(boolean show)Specifies whether or not to display this symbol's location as a text modifier.voidsetShowTextModifiers(boolean showTextModifiers)Specifies whether to draw this symbol's supplemental text modifiers.voidsetUnitsFormat(UnitsFormat unitsFormat)Specifies the unit format used to format values in text modifiers.voidsetVisible(boolean visible)Specifies whether this symbol is drawn when in view.-
Methods inherited from class gov.nasa.worldwind.WWObjectImpl
onMessage, propertyChange
-
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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.event.MessageListener
onMessage
-
Methods inherited from interface gov.nasa.worldwind.symbology.TacticalSymbol
getIdentifier
-
-
-
-
Field Detail
-
DEFAULT_UNITS_FORMAT
public static final UnitsFormat DEFAULT_UNITS_FORMAT
Default unit format.
-
LOADING_IMAGE_PATH
public static final java.lang.String LOADING_IMAGE_PATH
The image file displayed while the icon is loading.
-
LAYOUT_ABSOLUTE
protected static final java.lang.String LAYOUT_ABSOLUTE
- See Also:
- Constant Field Values
-
LAYOUT_RELATIVE
protected static final java.lang.String LAYOUT_RELATIVE
- See Also:
- Constant Field Values
-
LAYOUT_NONE
protected static final java.lang.String LAYOUT_NONE
- See Also:
- Constant Field Values
-
DEFAULT_DEPTH_OFFSET
protected static final double DEFAULT_DEPTH_OFFSET
The default depth offset in device independent depth units: -8200. This value is configured to match the depth offset produced by existing screen elements such as PointPlacemark. This value was determined empirically.- See Also:
- Constant Field Values
-
DEFAULT_MAX_TIME_SINCE_LAST_USED
protected static final long DEFAULT_MAX_TIME_SINCE_LAST_USED
- See Also:
- Constant Field Values
-
DEFAULT_GLYPH_ATLAS
protected static final TextureAtlas DEFAULT_GLYPH_ATLAS
The default glyph texture atlas. This texture atlas holds all glyph images loaded by calls tolayoutGlyphModifier. Initialized with initial dimensions of 1024x128 and maximum dimensions of 2048x2048. Configured to remove the least recently used texture elements when more space is needed.
-
MAX_SYMBOL_DIMENSION
protected static final int MAX_SYMBOL_DIMENSION
Maximum expected size of a symbol, used to estimate screen bounds for view frustum culling. This value is configured a bit higher than a symbol is likely to be drawn in practice to err on the side of not culling a symbol that is not visible, rather culling one that is visible.- See Also:
- Constant Field Values
-
DEFAULT_LABEL_LINES
protected static final int DEFAULT_LABEL_LINES
The default number of label lines to expect when computing the minimum size of the text layout rectangle.- See Also:
- Constant Field Values
-
defaultAttrs
protected static TacticalSymbolAttributes defaultAttrs
The attributes used if attributes are not specified.
-
visible
protected boolean visible
Indicates whether this symbol is drawn when in view.trueif this symbol is drawn when in view, otherwisefalse. Initiallytrue.
-
highlighted
protected boolean highlighted
Indicates whether this symbol is highlighted.trueif this symbol is highlighted, otherwisefalse. Initiallyfalse.
-
position
protected Position position
Indicates this symbol's geographic position. SeesetPosition(gov.nasa.worldwind.geom.Position)for a description of how tactical symbols interpret their position. Must be non-null, and is initialized during construction.
-
altitudeMode
protected int altitudeMode
Indicates this symbol's altitude mode. SeesetAltitudeMode(int)for a description of the valid altitude modes. Initially Worldwind.ABSOLUTE.
-
showGraphicModifiers
protected boolean showGraphicModifiers
Indicates whether this symbol draws its supplemental graphic modifiers.trueif this symbol draws its graphic modifiers, otherwisefalse. Initiallytrue.
-
showTextModifiers
protected boolean showTextModifiers
Indicates whether this symbol draws its supplemental text modifiers.trueif this symbol draws its text modifiers, otherwisefalse. Initiallytrue.
-
delegateOwner
protected java.lang.Object delegateOwner
Indicates an object to attach to the picked object list instead of this symbol.
-
enableBatchRendering
protected boolean enableBatchRendering
-
enableBatchPicking
protected boolean enableBatchPicking
-
showLocation
protected boolean showLocation
Indicates whether or not to display the implicit location modifier.
-
showHostileIndicator
protected boolean showHostileIndicator
Indicates whether or not to display the implicit hostile indicator modifier.
-
modifiers
protected AVList modifiers
Indicates the current text and graphic modifiers assigned to this symbol. This list of key-value pairs contains both the modifiers specified by the string identifier during construction, and those specified by callingsetModifier(String, Object). Initialized to a new AVListImpl, and populated during construction from values in the string identifier and the modifiers list.
-
activeModifiers
protected AVList activeModifiers
Modifiers active this frame. This list is determined by copyingmodifiers, and applying changings inapplyImplicitModifiers(gov.nasa.worldwind.avlist.AVList).
-
normalAttrs
protected TacticalSymbolAttributes normalAttrs
Indicates this symbol's normal (as opposed to highlight) attributes. May benull, indicating that the default attributes are used. Initiallynull.
-
highlightAttrs
protected TacticalSymbolAttributes highlightAttrs
Indicates this symbol's highlight attributes. May benull, indicating that the default attributes are used. Initiallynull.
-
activeAttrs
protected TacticalSymbolAttributes activeAttrs
Indicates this symbol's currently active attributes. Updated indetermineActiveAttributes(). Initialized to a new BasicTacticalSymbolAttributes.
-
offset
protected Offset offset
-
iconOffset
protected Offset iconOffset
-
iconSize
protected Size iconSize
-
depthOffset
protected java.lang.Double depthOffset
-
iconRetriever
protected IconRetriever iconRetriever
-
modifierRetriever
protected IconRetriever modifierRetriever
-
frameNumber
protected long frameNumber
The frame used to calculate this symbol's per-frame values. Set to the draw context's frame number each frame. Initially -1.
-
thisFramesOrderedSymbol
protected AbstractTacticalSymbol.OrderedSymbol thisFramesOrderedSymbol
-
iconRect
protected java.awt.Rectangle iconRect
-
staticScreenRect
protected java.awt.Rectangle staticScreenRect
Screen rect computed from the icon and static modifiers. This rectangle is cached and only recomputed when the icon or modifiers change.
-
staticLayoutRect
protected java.awt.Rectangle staticLayoutRect
Layout rect computed from the icon and static modifiers. This rectangle is cached and only recomputed when the icon or modifiers change.
-
unresolvedGlyph
protected boolean unresolvedGlyph
Indicates that one or more glyphs have not been resolved.
-
currentGlyphs
protected java.util.List<AbstractTacticalSymbol.IconAtlasElement> currentGlyphs
-
currentLabels
protected java.util.List<AbstractTacticalSymbol.Label> currentLabels
-
currentLines
protected java.util.List<AbstractTacticalSymbol.Line> currentLines
-
iconTexture
protected WWTexture iconTexture
-
activeIconTexture
protected WWTexture activeIconTexture
-
glyphAtlas
protected TextureAtlas glyphAtlas
-
glyphMap
protected java.util.Map<java.lang.String,AbstractTacticalSymbol.IconAtlasElement> glyphMap
-
maxTimeSinceLastUsed
protected long maxTimeSinceLastUsed
-
unitsFormat
protected UnitsFormat unitsFormat
Unit format used to format location and altitude for text modifiers.
-
formattedPosition
protected java.lang.String formattedPosition
Current symbol position, formatted using the current unit format.
-
BEogsh
protected OGLStackHandler BEogsh
Support for setting up and restoring OpenGL state during rendering. Initialized to a new OGLStackHandler, and used inbeginDrawing(gov.nasa.worldwind.render.DrawContext, int)andendDrawing(gov.nasa.worldwind.render.DrawContext).
-
pickSupport
protected PickSupport pickSupport
Support for setting up and restoring picking state, and resolving the picked object. Initialized to a new PickSupport, and used inpick(gov.nasa.worldwind.render.DrawContext, java.awt.Point, gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol).
-
dragEnabled
protected boolean dragEnabled
Dragging support properties.
-
draggableSupport
protected DraggableSupport draggableSupport
-
pickLayer
protected Layer pickLayer
Per-frame layer indicating this symbol's layer when its ordered renderable was created. Assigned each frame inmakeOrderedRenderable(gov.nasa.worldwind.render.DrawContext). Used to define the picked object's layer during pick resolution. Initiallynull.
-
LODSelector
protected TacticalSymbol.LODSelector LODSelector
The LOD selector specified by the application, or null if none specified (the default).
-
-
Constructor Detail
-
AbstractTacticalSymbol
protected AbstractTacticalSymbol()
Constructs a new symbol with no position.
-
AbstractTacticalSymbol
protected AbstractTacticalSymbol(Position position)
Constructs a new symbol with the specified position. The position specifies the latitude, longitude, and altitude where this symbol is drawn on the globe. The position's altitude component is interpreted according to the altitudeMode.- Parameters:
position- the latitude, longitude, and altitude where the symbol is drawn.- Throws:
java.lang.IllegalArgumentException- if the position isnull.
-
-
Method Detail
-
isVisible
public boolean isVisible()
Indicates whether this symbol is drawn when in view.- Specified by:
isVisiblein interfaceTacticalSymbol- Returns:
- true if this symbol is drawn when in view, otherwise false.
-
setVisible
public void setVisible(boolean visible)
Specifies whether this symbol is drawn when in view.- Specified by:
setVisiblein interfaceTacticalSymbol- Parameters:
visible- true if this symbol should be drawn when in view, otherwise false.
-
isHighlighted
public boolean isHighlighted()
Indicates whether to highlight the shape.- Specified by:
isHighlightedin interfaceHighlightable- Returns:
- true to highlight the shape, otherwise false.
-
setHighlighted
public void setHighlighted(boolean highlighted)
Specifies whether to highlight the shape.- Specified by:
setHighlightedin interfaceHighlightable- Parameters:
highlighted- true to highlight the shape, otherwise false.
-
getPosition
public Position getPosition()
Indicates this symbol's geographic position. SeeTacticalSymbol.setPosition(gov.nasa.worldwind.geom.Position)for a description of how tactical symbols interpret their position.- Specified by:
getPositionin interfaceTacticalSymbol- Returns:
- this symbol's current geographic position.
-
setPosition
public void setPosition(Position position)
Specifies this symbol's geographic position. The specified position must be non-null, and defines where on the globe this symbol displays its graphic. The position's altitude component is interpreted according to the altitudeMode. The type of graphic this symbol displays at the position is implementation dependent.- Specified by:
setPositionin interfaceTacticalSymbol- Parameters:
position- this symbol's new position.
-
getAltitudeMode
public int getAltitudeMode()
Indicates this symbol's altitude mode. SeeTacticalSymbol.setAltitudeMode(int)for a description of the valid altitude modes.- Specified by:
getAltitudeModein interfaceTacticalSymbol- Returns:
- this symbol's altitude mode.
-
setAltitudeMode
public void setAltitudeMode(int altitudeMode)
Specifies this symbol's altitude mode. Altitude mode defines how the altitude component of this symbol's position is interpreted. Recognized modes are:- WorldWind.CLAMP_TO_GROUND -- this symbol's graphic is placed on the terrain at the latitude and longitude of its position.
- WorldWind.RELATIVE_TO_GROUND -- this symbol's graphic is placed above the terrain at the latitude and longitude of its position and the distance specified by its elevation.
- WorldWind.ABSOLUTE -- this symbol's graphic is placed at its specified position.
This symbol assumes the altitude mode WorldWind.ABSOLUTE if the specified mode is not recognized.
- Specified by:
setAltitudeModein interfaceTacticalSymbol- Parameters:
altitudeMode- this symbol's new altitude mode.
-
isShowGraphicModifiers
public boolean isShowGraphicModifiers()
Indicates whether this symbol draws its supplemental graphic modifiers.- Specified by:
isShowGraphicModifiersin interfaceTacticalSymbol- Returns:
- true if this symbol draws its graphic modifiers, otherwise false.
-
setShowGraphicModifiers
public void setShowGraphicModifiers(boolean showGraphicModifiers)
Specifies whether to draw this symbol's supplemental graphic modifiers.- Specified by:
setShowGraphicModifiersin interfaceTacticalSymbol- Parameters:
showGraphicModifiers- true if this symbol should draw its graphic modifiers, otherwise false.
-
isShowTextModifiers
public boolean isShowTextModifiers()
Indicates whether this symbol draws its supplemental text modifiers.- Specified by:
isShowTextModifiersin interfaceTacticalSymbol- Returns:
- true if this symbol draws its text modifiers, otherwise false.
-
setShowTextModifiers
public void setShowTextModifiers(boolean showTextModifiers)
Specifies whether to draw this symbol's supplemental text modifiers.- Specified by:
setShowTextModifiersin interfaceTacticalSymbol- Parameters:
showTextModifiers- true if this symbol should draw its text modifiers, otherwise false.
-
isShowLocation
public boolean isShowLocation()
Indicates whether or not to display this symbol's location as a text modifier. Not all symbols support the location modifier.- Specified by:
isShowLocationin interfaceTacticalSymbol- Returns:
- true if the symbol will display the location modifier. Note that not some symbols may not support this modifier.
-
setShowLocation
public void setShowLocation(boolean show)
Specifies whether or not to display this symbol's location as a text modifier. Not all symbols support the location modifier. Setting showLocation on a symbol that does not support the modifier will have no effect.- Specified by:
setShowLocationin interfaceTacticalSymbol- Parameters:
show- true if the symbol will display the location modifier. Note that not some symbols may not support this modifier.
-
isShowHostileIndicator
public boolean isShowHostileIndicator()
Indicates whether or not to display an indicator when the symbol represents a hostile entity. See comments onsetShowHostileIndicatorfor more information.- Specified by:
isShowHostileIndicatorin interfaceTacticalSymbol- Returns:
- true if an indicator will be drawn when this symbol represents a hostile entity, if supported by the symbol specification.
-
setShowHostileIndicator
public void setShowHostileIndicator(boolean show)
Specifies whether or not to display an indicator when the symbol represents a hostile entity. The indicator is determined by the symbology set, and may not apply to all symbols in the symbol set. In the case of MIL-STD-2525C, the indicator is the letters "ENY" displayed at the lower right corner of the symbol.- Specified by:
setShowHostileIndicatorin interfaceTacticalSymbol- Parameters:
show- true if this symbol will display an indicator when this symbol represents a hostile entity and the symbol specification supports such an indicator.
-
isEnableBatchRendering
public boolean isEnableBatchRendering()
-
setEnableBatchRendering
public void setEnableBatchRendering(boolean enableBatchRendering)
-
isEnableBatchPicking
public boolean isEnableBatchPicking()
-
setEnableBatchPicking
public void setEnableBatchPicking(boolean enableBatchPicking)
-
getModifier
public java.lang.Object getModifier(java.lang.String modifier)
Indicates the current value of a text or graphic modifier. SeeTacticalSymbol.setModifier(String, Object)for a description of how modifiers values are interpreted.- Specified by:
getModifierin interfaceTacticalSymbol- Parameters:
modifier- the modifier key.- Returns:
- the modifier value. May be
null, indicating that this symbol does not display the specified modifier.
-
setModifier
public void setModifier(java.lang.String modifier, java.lang.Object value)Specifies the value of a text or graphic modifier. Which modifier keys are recognized how they affect the symbol's graphic is implementation dependent. If the modifier has an implicit value and only needs to be enabled (e.g. the MIL-STD-2525 location modifier), specify true as the modifier value. If the specified value isnull, the modifier is removed from this symbol.If the specified modifier represents a graphic or text modifier, its display is suppressed if isShowGraphicModifiers or isShowTextModifiers, respectively, returns false.
- Specified by:
setModifierin interfaceTacticalSymbol- Parameters:
modifier- the modifier key.value- the modifier value. May benull, indicating that the modifier should be removed from this symbol.
-
getAttributes
public TacticalSymbolAttributes getAttributes()
Returns this symbol's normal (as opposed to highlight) attributes.- Specified by:
getAttributesin interfaceTacticalSymbol- Returns:
- this symbol's normal attributes. May be
null, indicating that the default highlight attributes are used.
-
setAttributes
public void setAttributes(TacticalSymbolAttributes normalAttrs)
Specifies this symbol's normal (as opposed to highlight) attributes.- Specified by:
setAttributesin interfaceTacticalSymbol- Parameters:
normalAttrs- the normal attributes. May benull, in which case default attributes are used.
-
getHighlightAttributes
public TacticalSymbolAttributes getHighlightAttributes()
Returns this symbol's highlight attributes.- Specified by:
getHighlightAttributesin interfaceTacticalSymbol- Returns:
- this symbol's highlight attributes. May be
null, indicating that the default attributes are used.
-
setHighlightAttributes
public void setHighlightAttributes(TacticalSymbolAttributes highlightAttrs)
Specifies this symbol's highlight attributes.- Specified by:
setHighlightAttributesin interfaceTacticalSymbol- Parameters:
highlightAttrs- the highlight attributes. May benull, in which case default highlight attributes are used.
-
getDelegateOwner
public java.lang.Object getDelegateOwner()
Indicates the delegate owner of this symbol. If non-null, the returned object replaces the symbol as the pickable object returned during picking. If null, the symbol itself is the pickable object returned during picking.- Specified by:
getDelegateOwnerin interfaceTacticalSymbol- Returns:
- the object used as the pickable object returned during picking, or null to indicate the the symbol is returned during picking.
-
setDelegateOwner
public void setDelegateOwner(java.lang.Object owner)
Specifies the delegate owner of this symbol. If non-null, the delegate owner replaces the symbol as the pickable object returned during picking. If null, the symbol itself is the pickable object returned during picking.- Specified by:
setDelegateOwnerin interfaceTacticalSymbol- Parameters:
owner- the object to use as the pickable object returned during picking, or null to return the symbol.
-
getUnitsFormat
public UnitsFormat getUnitsFormat()
Indicates the unit format used to format values in text modifiers.- Specified by:
getUnitsFormatin interfaceTacticalSymbol- Returns:
- Units format used to format text modifiers.
-
setUnitsFormat
public void setUnitsFormat(UnitsFormat unitsFormat)
Specifies the unit format used to format values in text modifiers.- Specified by:
setUnitsFormatin interfaceTacticalSymbol- Parameters:
unitsFormat- Format used to format text modifiers.
-
getLODSelector
public TacticalSymbol.LODSelector getLODSelector()
Description copied from interface:TacticalSymbolIndicates this symbol's level of detail selector.- Specified by:
getLODSelectorin interfaceTacticalSymbol- Returns:
- this symbol's level of detail selector, or null if one has not been specified.
-
setLODSelector
public void setLODSelector(TacticalSymbol.LODSelector LODSelector)
Description copied from interface:TacticalSymbolSpecifies this symbols level of detail selector.- Specified by:
setLODSelectorin interfaceTacticalSymbol- Parameters:
LODSelector- the level of detail selector. May be null, the default, to indicate no level of detail selector.
-
getReferencePosition
public Position getReferencePosition()
A position associated with the object that indicates its aggregate geographic position. The chosen position varies among implementers of this interface. For objects defined by a list of positions, the reference position is typically the first position in the list. For symmetric objects the reference position is often the center of the object. In many cases the object's reference position may be explicitly specified by the application.- Specified by:
getReferencePositionin interfaceMovable- Returns:
- the object's reference position, or null if no reference position is available.
-
move
public void move(Position delta)
Shift the shape over the globe's surface while maintaining its original azimuth, its orientation relative to North.
-
moveTo
public void moveTo(Position position)
Move the shape over the globe's surface while maintaining its original azimuth, its orientation relative to North.
-
isDragEnabled
public boolean isDragEnabled()
Description copied from interface:DraggableIndicates whether the object is enabled for dragging.- Specified by:
isDragEnabledin interfaceDraggable- Returns:
- true if the object is enabled, else false.
-
setDragEnabled
public void setDragEnabled(boolean enabled)
Description copied from interface:DraggableControls whether the object is enabled for dragging.- Specified by:
setDragEnabledin interfaceDraggable- Parameters:
enabled-trueif the object is enabled, elsefalse.
-
drag
public void drag(DragContext dragContext)
Description copied from interface:DraggableDrag the object given the providedDragContext.- Specified by:
dragin interfaceDraggable- Parameters:
dragContext- theDragContextof this dragging event.
-
doDrag
protected void doDrag(DragContext dragContext)
-
getOffset
public Offset getOffset()
Indicates a location within the symbol to align with the symbol point. SeesetOffsetfor more information.- Returns:
- the hot spot controlling the symbol's placement relative to the symbol point. null indicates default alignment.
-
setOffset
public void setOffset(Offset offset)
Specifies a location within the tactical symbol to align with the symbol point. By default, ground symbols are aligned at the bottom center of the symbol, and other symbols are aligned to the center of the symbol.setOffset(Offset.CENTER)aligns the center of the symbol with the symbol point, andsetOffset(Offset.BOTTOM_CENTER)aligns the center of the bottom edge with the symbol point.- Parameters:
offset- the hot spot controlling the symbol's placement relative to the symbol point. May be null to indicate default alignment.
-
getFormattedPosition
protected java.lang.String getFormattedPosition()
Indicates the symbol's current position, formatted according to the current UnitsFormat.- Returns:
- The current position formatted according to the current unit format. Returns null if the position is null.
-
getDepthOffset
protected java.lang.Double getDepthOffset()
-
setDepthOffset
protected void setDepthOffset(java.lang.Double depthOffset)
-
getIconRetriever
protected IconRetriever getIconRetriever()
-
setIconRetriever
protected void setIconRetriever(IconRetriever retriever)
-
getModifierRetriever
protected IconRetriever getModifierRetriever()
-
setModifierRetriever
protected void setModifierRetriever(IconRetriever retriever)
-
getGlyphAtlas
protected TextureAtlas getGlyphAtlas()
-
setGlyphAtlas
protected void setGlyphAtlas(TextureAtlas atlas)
-
pick
public void pick(DrawContext dc, java.awt.Point pickPoint, AbstractTacticalSymbol.OrderedSymbol osym)
-
render
public void render(DrawContext dc)
Causes thisRenderableto render itself using the provided draw context.- Specified by:
renderin interfaceRenderable- Parameters:
dc- theDrawContextto be used- See Also:
DrawContext
-
makeOrderedRenderable
protected void makeOrderedRenderable(DrawContext dc)
-
computeSymbolPoints
protected void computeSymbolPoints(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)
-
determineActiveAttributes
protected void determineActiveAttributes()
-
getActiveAttributes
protected TacticalSymbolAttributes getActiveAttributes()
-
reset
protected void reset()
Invalidate the symbol layout, causing it to be recomputed on the next frame.
-
layout
protected void layout(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)
-
mustLayout
protected boolean mustLayout(AbstractTacticalSymbol.IconSource iconSource, AVList modifiers)
Determines if the icon layout or static modifier layout must be computed.- Parameters:
iconSource- Current icon source.modifiers- Current modifiers.- Returns:
- true if the layout must be recomputed.
-
layoutIcon
protected void layoutIcon(DrawContext dc, AbstractTacticalSymbol.IconSource source, AbstractTacticalSymbol.OrderedSymbol osym)
-
layoutStaticModifiers
protected void layoutStaticModifiers(DrawContext dc, AVList modifiers, AbstractTacticalSymbol.OrderedSymbol osym)
Layout static modifiers around the symbol. Static modifiers are not expected to change due to changes in view. Subclasses should not override this method. Instead, subclasses may overridelayoutGraphicModifiersandlayoutTextModifiers.- Parameters:
dc- Current draw context.modifiers- Current modifiers.osym- The OrderedSymbol to hold the per-frame data.- See Also:
layoutDynamicModifiers(gov.nasa.worldwind.render.DrawContext, gov.nasa.worldwind.avlist.AVList, gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol),layoutGraphicModifiers(gov.nasa.worldwind.render.DrawContext, gov.nasa.worldwind.avlist.AVList, gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol),layoutTextModifiers(gov.nasa.worldwind.render.DrawContext, gov.nasa.worldwind.avlist.AVList, gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol)
-
layoutGraphicModifiers
protected void layoutGraphicModifiers(DrawContext dc, AVList modifiers, AbstractTacticalSymbol.OrderedSymbol osym)
Layout static graphic modifiers around the symbol. Static modifiers are not expected to change due to changes in view. The static layout is computed when a modifier is changed, but may not be computed each frame. For example, a text modifier indicating a symbol identifier would only need to be laid out when the text is changed, so this is best treated as a static modifier. However a direction of movement line that needs to be computed based on the current eye position should be treated as a dynamic modifier.- Parameters:
dc- Current draw context.modifiers- Current modifiers.osym- The OrderedSymbol to hold the per-frame data.- See Also:
layoutDynamicModifiers(gov.nasa.worldwind.render.DrawContext, gov.nasa.worldwind.avlist.AVList, gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol)
-
layoutTextModifiers
protected void layoutTextModifiers(DrawContext dc, AVList modifiers, AbstractTacticalSymbol.OrderedSymbol osym)
Layout static text modifiers around the symbol. Static modifiers are not expected to change due to changes in view. The static layout is computed when a modifier is changed, but may not be computed each frame. For example, a text modifier indicating a symbol identifier would only need to be laid out when the text is changed, so this is best treated as a static modifier. However a direction of movement line that needs to be computed based on the current eye position should be treated as a dynamic modifier.- Parameters:
dc- Current draw context.modifiers- Current modifiers.osym- The OrderedSymbol to hold the per-frame data.- See Also:
layoutDynamicModifiers(gov.nasa.worldwind.render.DrawContext, gov.nasa.worldwind.avlist.AVList, gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol)
-
layoutDynamicModifiers
protected void layoutDynamicModifiers(DrawContext dc, AVList modifiers, AbstractTacticalSymbol.OrderedSymbol osym)
Layout dynamic modifiers around the symbol. Dynamic modifiers are expected to (potentially) change each frame, and are laid out each frame. For example, a direction of movement line that is computed based on the current eye position would be treated as a dynamic modifier. Dynamic modifiers are always laid out after static modifiers.- Parameters:
dc- Current draw context.modifiers- Current modifiers.osym- The OrderedSymbol to hold the per-frame data.- See Also:
layoutStaticModifiers(gov.nasa.worldwind.render.DrawContext, gov.nasa.worldwind.avlist.AVList, gov.nasa.worldwind.symbology.AbstractTacticalSymbol.OrderedSymbol)
-
applyImplicitModifiers
protected void applyImplicitModifiers(AVList modifiers)
Add implicit modifiers to the modifier list. This method is called each frame to add modifiers that are determined implicitly by the symbol state, rather than set explicitly by the application. For example, the location modifier can be determined by the symbol position without the application needing to specify it.- Parameters:
modifiers- List of modifiers. This method may modify this list by adding implicit modifiers.
-
layoutRect
protected java.awt.Rectangle layoutRect(Offset offset, Offset hotspot, java.awt.Dimension size, java.lang.Object layoutMode, AbstractTacticalSymbol.OrderedSymbol osym)
Layout a rectangle relative to the current layout.- Parameters:
offset- Offset into either theiconRectorlayoutRectat which to align the hot spot.hotspot- Offset into the rectangle of the hot spot.size- Size of the rectangle.layoutMode- One ofLAYOUT_ABSOLUTE,LAYOUT_RELATIVE, orLAYOUT_NONE.osym- The OrderedSymbol to hold the per-frame data.- Returns:
- the laid out rectangle.
-
layoutLabelRect
protected java.awt.Rectangle layoutLabelRect(Offset offset, Offset hotspot, java.awt.Dimension size, java.lang.Object layoutMode, AbstractTacticalSymbol.OrderedSymbol osym)
Layout a label rectangle relative to the current layout. This method lays out text around the icon and graphic modifiers after scaling has been applied (text is not scaled with the icon).- Parameters:
offset- Offset into either theiconRectorlayoutRectat which to align the hot spot.hotspot- Offset into the rectangle of the hot spot.size- Size of the rectangle.layoutMode- One ofLAYOUT_ABSOLUTE,LAYOUT_RELATIVE, orLAYOUT_NONE.osym- The OrderedSymbol to hold the per-frame data.- Returns:
- the laid out rectangle.
-
layoutPoints
protected java.util.List<? extends java.awt.geom.Point2D> layoutPoints(Offset offset, java.util.List<? extends java.awt.geom.Point2D> points, java.lang.Object layoutMode, int numPointsInLayout, AbstractTacticalSymbol.OrderedSymbol osym)
-
addGlyph
protected void addGlyph(DrawContext dc, Offset offset, Offset hotspot, java.lang.String modifierCode, AbstractTacticalSymbol.OrderedSymbol osym)
-
addGlyph
protected void addGlyph(DrawContext dc, Offset offset, Offset hotspot, java.lang.String modifierCode, AVList retrieverParams, java.lang.Object layoutMode, AbstractTacticalSymbol.OrderedSymbol osym)
-
addLabel
protected void addLabel(DrawContext dc, Offset offset, Offset hotspot, java.lang.String modifierText, AbstractTacticalSymbol.OrderedSymbol osym)
-
addLabel
protected void addLabel(DrawContext dc, Offset offset, Offset hotspot, java.lang.String modifierText, java.awt.Font font, java.awt.Color color, java.lang.Object layoutMode, AbstractTacticalSymbol.OrderedSymbol osym)
-
addLine
protected void addLine(DrawContext dc, Offset offset, java.util.List<? extends java.awt.geom.Point2D> points, AbstractTacticalSymbol.OrderedSymbol osym)
-
addLine
protected void addLine(DrawContext dc, Offset offset, java.util.List<? extends java.awt.geom.Point2D> points, java.lang.Object layoutMode, int numPointsInLayout, AbstractTacticalSymbol.OrderedSymbol osym)
-
getGlyph
protected AbstractTacticalSymbol.IconAtlasElement getGlyph(java.lang.String modifierCode, AVList retrieverParams)
-
removeDeadModifiers
protected void removeDeadModifiers(long now)
-
computeScale
protected void computeScale(AbstractTacticalSymbol.OrderedSymbol osym)
-
computeTransform
protected void computeTransform(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)
-
computeScaledBounds
protected void computeScaledBounds(DrawContext dc, AVList modifiers, AbstractTacticalSymbol.OrderedSymbol osym)
Compute the bounds of symbol after the scale has been applied.- Parameters:
dc- Current draw context.modifiers- Current modifiers.osym- The OrderedSymbol to hold the per-frame data.
-
computeMinTextLayout
protected java.awt.Dimension computeMinTextLayout(DrawContext dc, AVList modifiers)
Compute the dimension of the minimum layout rectangle for the text modifiers.A minimum dimension is enforced to prevent the text from overlapping if the symbol is scaled to a very small size.- Parameters:
dc- Current draw context.modifiers- Modifiers to apply to the text.- Returns:
- Minimum dimension for the label layout rectangle.
-
getMaxLabelLines
protected int getMaxLabelLines(AVList modifiers)
-
computeScaledRect
protected java.awt.Rectangle computeScaledRect(java.awt.Rectangle rect, java.awt.Dimension maxDimension, double scaleX, double scaleY)
-
computeScreenExtent
protected java.awt.Rectangle computeScreenExtent(AbstractTacticalSymbol.OrderedSymbol osym)
-
getMaxSymbolDimension
protected int getMaxSymbolDimension()
Indicates the maximum expected size of a rendered tactical symbol. This value is used to estimate the size of a symbol and perform culling. If the symbol would not be visible (assuming it is the max size), then the icon does not need to be retrieved.- Returns:
- Maximum size of a symbol, in pixels.
-
intersectsFrustum
protected boolean intersectsFrustum(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)
-
drawOrderedRenderable
protected void drawOrderedRenderable(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)
-
drawBatched
protected void drawBatched(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol firstSymbol)
-
beginDrawing
protected void beginDrawing(DrawContext dc, int attrMask)
-
endDrawing
protected void endDrawing(DrawContext dc)
-
doDrawOrderedRenderable
protected void doDrawOrderedRenderable(DrawContext dc, PickSupport pickCandidates, AbstractTacticalSymbol.OrderedSymbol osym)
-
prepareToDraw
protected void prepareToDraw(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)
-
draw
protected void draw(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)
-
mustDrawIcon
protected boolean mustDrawIcon(DrawContext dc)
-
mustDrawGraphicModifiers
protected boolean mustDrawGraphicModifiers(DrawContext dc)
-
mustDrawTextModifiers
protected boolean mustDrawTextModifiers(DrawContext dc)
-
drawIcon
protected void drawIcon(DrawContext dc)
-
drawGraphicModifiers
protected void drawGraphicModifiers(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)
-
drawTextModifiers
protected void drawTextModifiers(DrawContext dc)
-
drawGlyphs
protected void drawGlyphs(DrawContext dc)
-
drawLabels
protected void drawLabels(DrawContext dc)
-
drawLines
protected void drawLines(DrawContext dc, AbstractTacticalSymbol.OrderedSymbol osym)
-
createPickedObject
protected PickedObject createPickedObject(int colorCode)
-
-