public class GlobeAnnotationBalloon extends AbstractAnnotationBalloon implements GlobeBalloon
| Modifier and Type | Field and Description | 
|---|---|
| protected int | altitudeMode | 
| protected GlobeAnnotation | annotationAnnotation used to render the balloon. | 
| protected Position | position | 
activeAttributes, alwaysOnTop, attributes, defaultAttributes, delegateOwner, highlightAttributes, highlighted, maxActiveAltitude, minActiveAltitude, pickEnabled, text, textDecoder, visible| Constructor and Description | 
|---|
| GlobeAnnotationBalloon(String text,
                      Position position)Create the balloon. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | computePosition(DrawContext dc)Compute the annotation position, and set it in the annotation. | 
| protected GlobeAnnotation | createAnnotation()Create an annotation to render the balloon. | 
| int | getAltitudeMode()Returns the balloon's altitude mode. | 
| protected GlobeAnnotation | getAnnotation()Get the annotation used to render the balloon. | 
| Position | getPosition()Get the position of the balloon. | 
| void | setAltitudeMode(int altitudeMode)Specifies the balloon's altitude mode. | 
| void | setPosition(Position position)Set the balloon to a position on the globe. | 
applyAttributesToAnnotation, computeOffsets, getBounds, renderdetermineActiveAttributes, getActiveAttributes, getAttributes, getDecodedText, getDelegateOwner, getHighlightAttributes, getMaxActiveAltitude, getMinActiveAltitude, getText, getTextDecoder, isAlwaysOnTop, isHighlighted, isPickEnabled, isVisible, setAlwaysOnTop, setAttributes, setDelegateOwner, setHighlightAttributes, setHighlighted, setMaxActiveAltitude, setMinActiveAltitude, setPickEnabled, setText, setTextDecoder, setVisibleonMessage, propertyChangeaddPropertyChangeListener, 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, setValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributes, getBounds, getDelegateOwner, getHighlightAttributes, getMaxActiveAltitude, getMinActiveAltitude, getText, getTextDecoder, isAlwaysOnTop, isPickEnabled, isVisible, setAlwaysOnTop, setAttributes, setDelegateOwner, setHighlightAttributes, setMaxActiveAltitude, setMinActiveAltitude, setPickEnabled, setText, setTextDecoder, setVisiblerenderisHighlighted, setHighlightedaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesprotected int altitudeMode
protected GlobeAnnotation annotation
protected Position position
protected void computePosition(DrawContext dc)
computePosition in class AbstractAnnotationBalloondc - Draw context.protected GlobeAnnotation createAnnotation()
createAnnotation in class AbstractAnnotationBalloonpublic int getAltitudeMode()
GlobeBalloon.setAltitudeMode(int) for a description of the modes.getAltitudeMode in interface GlobeBalloonprotected GlobeAnnotation getAnnotation()
getAnnotation in class AbstractAnnotationBalloonpublic Position getPosition()
getPosition in interface GlobeBalloonpublic void setAltitudeMode(int altitudeMode)
WorldWind.ABSOLUTE
 -- the balloon is placed at its specified position. setAltitudeMode in interface GlobeBalloonaltitudeMode - the altitude modepublic void setPosition(Position position)
setPosition in interface GlobeBalloonposition - New position for the balloon.