protected static class MeasureTool.ControlPointWithLeader extends MeasureTool.ControlPoint implements PreRenderable
AbstractAnnotation.TextCacheKey
Modifier and Type | Field and Description |
---|---|
protected SurfacePolyline |
leaderLine |
altitudeMode, dragEnabled, draggableSupport, heightInMeter, position
alwaysOnTop, attributes, childList, delegateOwner, layoutManager, maxActiveAltitude, minActiveAltitude, pickEnabled, pickSupport, text, textBoundsMap, vertexBuffer, wrappedTextMap
ANTIALIAS_DONT_CARE, ANTIALIAS_FASTEST, ANTIALIAS_NICEST
Constructor and Description |
---|
ControlPointWithLeader(Position position,
AnnotationAttributes controlPointAttributes,
ShapeAttributes leaderAttributes,
MeasureTool parent) |
Modifier and Type | Method and Description |
---|---|
void |
preRender(DrawContext dc) |
void |
render(DrawContext dc)
Render the annotation.
|
void |
setLeaderLocations(LatLon begin,
LatLon end) |
getParent
computeBounds, computeDistanceScaleAndOpacity, computeLookAtDistance, doDrag, doRenderNow, drag, getAltitudeMode, getAnnotationDrawPoint, getAnnotationDrawPointLegacy, getHeightInMeter, getPosition, getReferencePosition, getRestorableState, isDragEnabled, move, moveTo, restoreState, setAltitudeMode, setDepthFunc, setDragEnabled, setHeightInMeter, setPosition
addChild, adjustSizeToChildren, adjustSizeToText, applyBackgroundTextureState, applyColor, applyScreenTransform, beginDraw, beginDrawChildren, bindPickableObject, computeBoundingRectangle, computeFreeBounds, computeInsetBounds, computeOpacity, computeScale, computeTextBounds, dispose, doDraw, doDrawBackgroundTexture, doDrawChildren, draw, drawBackground, drawBackgroundImage, drawBorder, drawCallout, drawChildren, drawContent, drawHTML, drawPlainText, drawText, drawText, drawTopLevelAnnotation, endDraw, endDrawChildren, getAttributes, getBounds, getChildren, getDelegateOwner, getLayout, getMaxActiveAltitude, getMinActiveAltitude, getMultiLineTextRenderer, getPickSupport, getPreferredSize, getText, getTextBounds, getTextRenderer, getWrappedText, glPointFromAWTPoint, isAlwaysOnTop, isPickEnabled, modulateColorOpacity, pick, removeAllChildren, removeChild, renderNow, setAlwaysOnTop, setAttributes, setDelegateOwner, setLayout, setMaxActiveAltitude, setMinActiveAltitude, setPickEnabled, setPickSupport, setText, transformBackgroundImageCoordsToAnnotationCoords, transformByModelview, transformImageCoordsToBackgroundImageCoords, wrapText
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
protected SurfacePolyline leaderLine
public ControlPointWithLeader(Position position, AnnotationAttributes controlPointAttributes, ShapeAttributes leaderAttributes, MeasureTool parent)
public void preRender(DrawContext dc)
preRender
in interface PreRenderable
public void render(DrawContext dc)
AbstractAnnotation
render
in interface Renderable
render
in class AbstractAnnotation
dc
- the current DrawContext.DrawContext