NASA World Wind

gov.nasa.worldwind.render
Interface ScreenBalloon

All Superinterfaces:
AVList, Balloon, Highlightable, Renderable
All Known Implementing Classes:
KMLScreenBalloonImpl, ScreenAnnotationBalloon, ScreenBrowserBalloon

public interface ScreenBalloon
extends Balloon

A Balloon attached to a location on the screen.


Method Summary
 Point getScreenLocation()
          Get the position of the balloon on the screen.
 void setScreenLocation(Point point)
          Set the screen position of the balloon.
 
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

getScreenLocation

Point getScreenLocation()
Get the position of the balloon on the screen.

Returns:
The screen location of the balloon.

setScreenLocation

void setScreenLocation(Point point)
Set the screen position of the balloon. This point is interpreted in a coordinate system with the origin at the upper left corner of the screen.

Parameters:
point - Point in screen coordinates, with origin at upper left corner.

NASA World Wind