Package gov.nasa.worldwind.render
Interface GlobeBalloon
-
- All Superinterfaces:
AVList
,Balloon
,Highlightable
,Renderable
- All Known Implementing Classes:
GlobeAnnotationBalloon
,KMLGlobeBalloonImpl
public interface GlobeBalloon extends Balloon
ABalloon
attached to a position on the globe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
-
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.Highlightable
isHighlighted, setHighlighted
-
Methods inherited from interface gov.nasa.worldwind.render.Renderable
render
-
-
-
-
Method Detail
-
getPosition
Position getPosition()
Get the position of the balloon.- Returns:
- The position of the balloon.
-
setPosition
void setPosition(Position position)
Set the balloon to a position on the globe.- Parameters:
position
- New position for the balloon.
-
getAltitudeMode
int getAltitudeMode()
Returns the balloon's altitude mode. SeesetAltitudeMode(int)
for a description of the modes.- Returns:
- the balloon's altitude mode.
-
setAltitudeMode
void setAltitudeMode(int altitudeMode)
Specifies the balloon's altitude mode. Recognized modes are:- @link WorldWind#CLAMP_TO_GROUND} -- the balloon is placed on the terrain at the latitude and longitude of its position.
- @link WorldWind#RELATIVE_TO_GROUND} -- the balloon is placed above the terrain at the latitude and longitude of its position and the distance specified by its elevation.
WorldWind.ABSOLUTE
-- the balloon is placed at its specified position.
- Parameters:
altitudeMode
- the altitude mode
-
-