public class KMLGlobeBalloonImpl extends KMLAbstractBalloon implements GlobeBalloon
| Modifier and Type | Field and Description | 
|---|---|
| protected GlobeBalloon | balloonThe contained balloon. | 
DISPLAY_MODE_DEFAULT, DISPLAY_MODE_HIDE, displayMode, highlightAttributesResolved, highlightText, normalAttributesResolved, normalText, parent, usingDefaultText| Constructor and Description | 
|---|
| KMLGlobeBalloonImpl(GlobeBalloon balloon,
                   KMLAbstractFeature feature)Create the balloon. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getAltitudeMode()Returns the balloon's altitude mode. | 
| GlobeBalloon | getBalloon()Get the Balloon object that is contained in the KMLBalloon object. | 
| 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. | 
addHyperlinks, addPropertyChangeListener, addPropertyChangeListener, assembleBalloonAttributes, clearList, copy, createDefaultBalloonText, createDefaultExtendedDataText, createDefaultSchemaDataText, createTextDecoder, determineActiveText, firePropertyChange, firePropertyChange, getAttributes, getBounds, getDelegateOwner, getDisplayMode, getEntries, getHighlightAttributes, getInitialBalloonAttributes, getMaxActiveAltitude, getMinActiveAltitude, getStringValue, getText, getTextDecoder, getValue, getValues, hasKey, initialize, isAlwaysOnTop, isHighlighted, isPickEnabled, isVisible, makeAttributesCurrent, mustAddHyperlinks, propertyChange, removeKey, removePropertyChangeListener, removePropertyChangeListener, render, resolve, setAlwaysOnTop, setAttributes, setDelegateOwner, setDisplayMode, setHighlightAttributes, setHighlighted, setMaxActiveAltitude, setMinActiveAltitude, setPickEnabled, setText, setTextDecoder, setValue, setValues, setVisibleclone, 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 GlobeBalloon balloon
public KMLGlobeBalloonImpl(GlobeBalloon balloon, KMLAbstractFeature feature)
balloon - Balloon to apply KML styling to.feature - The feature that defines the balloon style.public int getAltitudeMode()
GlobeBalloon.setAltitudeMode(int) for a description of the modes.. This method passes through to the contained balloon.getAltitudeMode in interface GlobeBalloonpublic GlobeBalloon getBalloon()
getBalloon in class KMLAbstractBalloonpublic 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.