public class KMLGlobeBalloonImpl extends KMLAbstractBalloon implements GlobeBalloon
Modifier and Type | Field and Description |
---|---|
protected GlobeBalloon |
balloon
The 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, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributes, getBounds, getDelegateOwner, getHighlightAttributes, getMaxActiveAltitude, getMinActiveAltitude, getText, getTextDecoder, isAlwaysOnTop, isPickEnabled, isVisible, setAlwaysOnTop, setAttributes, setDelegateOwner, setHighlightAttributes, setMaxActiveAltitude, setMinActiveAltitude, setPickEnabled, setText, setTextDecoder, setVisible
render
isHighlighted, setHighlighted
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
protected 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 GlobeBalloon
public GlobeBalloon getBalloon()
getBalloon
in class KMLAbstractBalloon
public Position getPosition()
getPosition
in interface GlobeBalloon
public void setAltitudeMode(int altitudeMode)
WorldWind.ABSOLUTE
-- the balloon is placed at its specified position. setAltitudeMode
in interface GlobeBalloon
altitudeMode
- the altitude modepublic void setPosition(Position position)
setPosition
in interface GlobeBalloon
position
- New position for the balloon.