public class WebBrowserBalloons extends ApplicationTemplate
ScreenBrowserBalloon
which displays a balloon at a point on the screen, and GlobeBrowserBalloon
which displays a
balloon attached to a position on the Globe.
Browser Balloon Content
A balloon's HTML content is specified by calling
with a string containing either plain text or HTML + JavaScript. The balloon's visual
attributes are specified by calling
Balloon.setText(String)
with an instance of
Balloon.setAttributes(gov.nasa.worldwind.render.BalloonAttributes)
.BalloonAttributes
Modifier and Type | Class and Description |
---|---|
static class |
WebBrowserBalloons.AppFrame |
ApplicationTemplate.AppPanel
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
BROWSER_BALLOON_CONTENT_PATH |
Constructor and Description |
---|
WebBrowserBalloons() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
protected static final java.lang.String BROWSER_BALLOON_CONTENT_PATH