gov.nasa.worldwind.util.measure
Class MeasureTool.ControlPointWithLeader
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.render.AbstractAnnotation
gov.nasa.worldwind.render.GlobeAnnotation
gov.nasa.worldwind.util.measure.MeasureTool.ControlPoint
gov.nasa.worldwind.util.measure.MeasureTool.ControlPointWithLeader
- All Implemented Interfaces:
- AVList, Disposable, Locatable, Movable, Annotation, PreRenderable, Renderable, Restorable
- Enclosing class:
- MeasureTool
protected static class MeasureTool.ControlPointWithLeader
- extends MeasureTool.ControlPoint
- implements PreRenderable
| Fields inherited from class gov.nasa.worldwind.render.AbstractAnnotation |
alwaysOnTop, attributes, childList, delegateOwner, layoutManager, maxActiveAltitude, minActiveAltitude, pickEnabled, pickSupport, text, textBoundsMap, vertexBuffer, wrappedTextMap |
| Methods inherited from class gov.nasa.worldwind.render.GlobeAnnotation |
computeBounds, computeDistanceScaleAndOpacity, computeLookAtDistance, doRenderNow, getAltitudeMode, getAnnotationDrawPoint, getAnnotationDrawPointLegacy, getHeightInMeter, getPosition, getReferencePosition, getRestorableState, move, moveTo, restoreState, setAltitudeMode, setDepthFunc, setHeightInMeter, setPosition |
| Methods inherited from class gov.nasa.worldwind.render.AbstractAnnotation |
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 |
| 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 |
leaderLine
protected SurfacePolyline leaderLine
MeasureTool.ControlPointWithLeader
public MeasureTool.ControlPointWithLeader(Position position,
AnnotationAttributes controlPointAttributes,
ShapeAttributes leaderAttributes,
MeasureTool parent)
preRender
public void preRender(DrawContext dc)
- Specified by:
preRender in interface PreRenderable
render
public void render(DrawContext dc)
- Description copied from class:
AbstractAnnotation
- Render the annotation. Called as a Renderable.
- Specified by:
render in interface Renderable- Overrides:
render in class AbstractAnnotation
- Parameters:
dc - the current DrawContext.- See Also:
DrawContext
setLeaderLocations
public void setLeaderLocations(LatLon begin,
LatLon end)