public class WWOMeasureToolControlPoints.ControlPoint extends GlobeAnnotation implements WWOMeasureTool.ControlPoint
AbstractAnnotation.TextCacheKey
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 |
---|
ControlPoint(Position position) |
Modifier and Type | Method and Description |
---|---|
WWOMeasureTool |
getParent() |
Position |
getPosition() |
java.lang.Object |
getValue(java.lang.String key)
Returns the value for a specified key.
|
void |
highlight(boolean tf) |
void |
setPosition(Position position) |
java.lang.Object |
setValue(java.lang.String key,
java.lang.Object value)
Adds a key/value pair to the list.
|
computeBounds, computeDistanceScaleAndOpacity, computeLookAtDistance, doDrag, doRenderNow, drag, getAltitudeMode, getAnnotationDrawPoint, getAnnotationDrawPointLegacy, getHeightInMeter, getReferencePosition, getRestorableState, isDragEnabled, move, moveTo, restoreState, setAltitudeMode, setDepthFunc, setDragEnabled, setHeightInMeter
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, render, 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, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValues
public ControlPoint(Position position)
public WWOMeasureTool getParent()
getParent
in interface WWOMeasureTool.ControlPoint
public Position getPosition()
getPosition
in interface Locatable
getPosition
in interface WWOMeasureTool.ControlPoint
getPosition
in class GlobeAnnotation
public java.lang.Object getValue(java.lang.String key)
AVList
getValue
in interface AVList
getValue
in interface WWOMeasureTool.ControlPoint
getValue
in class AVListImpl
key
- the attribute name. May not be null
.null
.public void highlight(boolean tf)
highlight
in interface WWOMeasureTool.ControlPoint
public void setPosition(Position position)
setPosition
in interface WWOMeasureTool.ControlPoint
setPosition
in class GlobeAnnotation
public java.lang.Object setValue(java.lang.String key, java.lang.Object value)
AVList
setValue
in interface AVList
setValue
in interface WWOMeasureTool.ControlPoint
setValue
in class AVListImpl
key
- the attribute name. May not be null
.value
- the attribute value. May be null
, in which case any existing value for the key is
removed from the collection.