gov.nasa.worldwindx.applications.worldwindow.util.measuretool
Class WWOMeasureToolControlPoints.ControlPoint
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.render.AbstractAnnotation
gov.nasa.worldwind.render.GlobeAnnotation
gov.nasa.worldwindx.applications.worldwindow.util.measuretool.WWOMeasureToolControlPoints.ControlPoint
- All Implemented Interfaces:
- AVList, Disposable, Locatable, Movable, Annotation, Renderable, Restorable, WWOMeasureTool.ControlPoint
- Enclosing class:
- WWOMeasureToolControlPoints
public class WWOMeasureToolControlPoints.ControlPoint
- extends GlobeAnnotation
- implements WWOMeasureTool.ControlPoint
| 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, getReferencePosition, getRestorableState, move, moveTo, restoreState, setAltitudeMode, setDepthFunc, setHeightInMeter |
| 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, render, 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, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WWOMeasureToolControlPoints.ControlPoint
public WWOMeasureToolControlPoints.ControlPoint(Position position)
getParent
public WWOMeasureTool getParent()
- Specified by:
getParent in interface WWOMeasureTool.ControlPoint
getPosition
public Position getPosition()
- Specified by:
getPosition in interface Locatable- Specified by:
getPosition in interface WWOMeasureTool.ControlPoint- Overrides:
getPosition in class GlobeAnnotation
getValue
public Object getValue(String key)
- Description copied from interface:
AVList
- Returns the value for a specified key.
- Specified by:
getValue in interface AVList- Specified by:
getValue in interface WWOMeasureTool.ControlPoint- Overrides:
getValue in class AVListImpl
- Parameters:
key - the attribute name. May not be null.
- Returns:
- the attribute value if one exists in the collection, otherwise
null.
highlight
public void highlight(boolean tf)
- Specified by:
highlight in interface WWOMeasureTool.ControlPoint
setPosition
public void setPosition(Position position)
- Specified by:
setPosition in interface WWOMeasureTool.ControlPoint- Overrides:
setPosition in class GlobeAnnotation
setValue
public Object setValue(String key,
Object value)
- Description copied from interface:
AVList
- Adds a key/value pair to the list. Replaces an existing key/value pair if the list already contains the key.
- Specified by:
setValue in interface AVList- Specified by:
setValue in interface WWOMeasureTool.ControlPoint- Overrides:
setValue in class AVListImpl
- Parameters:
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.
- Returns:
- previous value associated with specified key, or null if there was no mapping for key. A null return can
also indicate that the map previously associated null with the specified key, if the implementation
supports null values.