gov.nasa.worldwind.ogc.kml.impl
Class KMLScreenBalloonImpl
java.lang.Object
gov.nasa.worldwind.ogc.kml.impl.KMLAbstractBalloon
gov.nasa.worldwind.ogc.kml.impl.KMLScreenBalloonImpl
- All Implemented Interfaces:
- AVList, Balloon, Highlightable, Renderable, ScreenBalloon, WebResourceResolver, PropertyChangeListener, EventListener
public class KMLScreenBalloonImpl
- extends KMLAbstractBalloon
- implements ScreenBalloon
A KML Balloon attached to a point on the screen.
| Methods inherited from class gov.nasa.worldwind.ogc.kml.impl.KMLAbstractBalloon |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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.avlist.AVList |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
balloon
protected ScreenBalloon balloon
- The contained balloon.
KMLScreenBalloonImpl
public KMLScreenBalloonImpl(ScreenBalloon balloon,
KMLAbstractFeature feature)
- Create the balloon.
- Parameters:
balloon - Balloon to apply KML styling to.feature - The feature that defines the balloon style.
getBalloon
public ScreenBalloon getBalloon()
- Get the Balloon object that is contained in the KMLBalloon object.
- Specified by:
getBalloon in class KMLAbstractBalloon
- Returns:
- The balloon contained by this object.
getScreenLocation
public Point getScreenLocation()
- Get the position of the balloon on the screen.. This method passes through to the contained balloon.
- Specified by:
getScreenLocation in interface ScreenBalloon
- Returns:
- The screen location of the balloon.
setScreenLocation
public 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.. This method passes through to the contained balloon.
- Specified by:
setScreenLocation in interface ScreenBalloon
- Parameters:
point - Point in screen coordinates, with origin at upper left corner.