|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.ogc.kml.impl.KMLAbstractBalloon
gov.nasa.worldwind.ogc.kml.impl.KMLGlobeBalloonImpl
public class KMLGlobeBalloonImpl
A KML Balloon attached to a point on the globe.
| Field Summary | |
|---|---|
protected GlobeBalloon |
balloon
The contained balloon. |
| Fields inherited from class gov.nasa.worldwind.ogc.kml.impl.KMLAbstractBalloon |
|---|
DISPLAY_MODE_DEFAULT, DISPLAY_MODE_HIDE, displayMode, highlightAttributesResolved, highlightText, normalAttributesResolved, normalText, parent, usingDefaultText |
| Constructor Summary | |
|---|---|
KMLGlobeBalloonImpl(GlobeBalloon balloon,
KMLAbstractFeature feature)
Create the balloon. |
|
| Method Summary | |
|---|---|
int |
getAltitudeMode()
Returns the balloon's altitude mode. |
GlobeBalloon |
getBalloon()
Get the Balloon object that is contained in the KMLBalloon object. |
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 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.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 |
| Field Detail |
|---|
protected GlobeBalloon balloon
| Constructor Detail |
|---|
public KMLGlobeBalloonImpl(GlobeBalloon balloon,
KMLAbstractFeature feature)
balloon - Balloon to apply KML styling to.feature - The feature that defines the balloon style.| Method Detail |
|---|
public int getAltitudeMode()
GlobeBalloon.setAltitudeMode(int) for a description of the modes.. This method passes through to the contained balloon.
getAltitudeMode in interface GlobeBalloonpublic GlobeBalloon getBalloon()
getBalloon in class KMLAbstractBalloonpublic Position getPosition()
getPosition in interface GlobeBalloonpublic void setAltitudeMode(int altitudeMode)
WorldWind.ABSOLUTE
-- the balloon is placed at its specified position.
setAltitudeMode in interface GlobeBalloonaltitudeMode - the altitude modepublic void setPosition(Position position)
setPosition in interface GlobeBalloonposition - New position for the balloon.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||