gov.nasa.worldwindx.applications.worldwindow.core
Class ToolTipAnnotation
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.render.AbstractAnnotation
gov.nasa.worldwind.render.ScreenAnnotation
gov.nasa.worldwindx.applications.worldwindow.core.ToolTipAnnotation
- All Implemented Interfaces:
- AVList, Disposable, Annotation, Renderable, Restorable
public class ToolTipAnnotation
- extends ScreenAnnotation
| 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.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, 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 |
ToolTipAnnotation
public ToolTipAnnotation(String text)
adjustDrawPointToViewport
protected Point adjustDrawPointToViewport(Point point,
Rectangle bounds,
Rectangle viewport)
doRenderNow
protected void doRenderNow(DrawContext dc)
- Overrides:
doRenderNow in class ScreenAnnotation
getOffsetX
protected int getOffsetX()
getOffsetY
protected int getOffsetY()
getTooltipOffset
public Point getTooltipOffset()
initializeAttributes
protected void initializeAttributes()
setTooltipOffset
public void setTooltipOffset(Point tooltipOffset)