Package gov.nasa.worldwind.render
Interface ScreenBalloon
-
- All Superinterfaces:
AVList
,Balloon
,Highlightable
,Renderable
- All Known Implementing Classes:
KMLScreenBalloonImpl
,ScreenAnnotationBalloon
public interface ScreenBalloon extends Balloon
ABalloon
attached to a location on the screen.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Point
getScreenLocation()
Get the position of the balloon on the screen.void
setScreenLocation(java.awt.Point point)
Set the screen position of the balloon.-
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
-
getScreenLocation
java.awt.Point getScreenLocation()
Get the position of the balloon on the screen.- Returns:
- The screen location of the balloon.
-
setScreenLocation
void setScreenLocation(java.awt.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.
-
-