NASA World Wind

gov.nasa.worldwind.render
Interface GlobeBalloon

All Superinterfaces:
AVList, Balloon, Highlightable, Renderable
All Known Implementing Classes:
GlobeAnnotationBalloon, GlobeBrowserBalloon, KMLGlobeBalloonImpl

public interface GlobeBalloon
extends Balloon

A Balloon attached to a position on the globe.


Method Summary
 int getAltitudeMode()
          Returns the balloon's altitude mode.
 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.
 
Methods inherited from interface gov.nasa.worldwind.render.Balloon
getAttributes, getBounds, getDelegateOwner, getHighlightAttributes, getMaxActiveAltitude, getMinActiveAltitude, getText, getTextDecoder, isAlwaysOnTop, isPickEnabled, isVisible, setAlwaysOnTop, setAttributes, setDelegateOwner, setHighlightAttributes, setMaxActiveAltitude, setMinActiveAltitude, setPickEnabled, setText, setTextDecoder, setVisible
 
Methods inherited from interface gov.nasa.worldwind.render.Renderable
render
 
Methods inherited from interface gov.nasa.worldwind.render.Highlightable
isHighlighted, setHighlighted
 
Methods inherited from interface gov.nasa.worldwind.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 

Method Detail

getAltitudeMode

int getAltitudeMode()
Returns the balloon's altitude mode. See setAltitudeMode(int) for a description of the modes.

Returns:
the balloon's altitude mode.

getPosition

Position getPosition()
Get the position of the balloon.

Returns:
The position of the balloon.

setAltitudeMode

void setAltitudeMode(int altitudeMode)
Specifies the balloon's altitude mode. Recognized modes are:

Parameters:
altitudeMode - the altitude mode

setPosition

void setPosition(Position position)
Set the balloon to a position on the globe.

Parameters:
position - New position for the balloon.

NASA World Wind