gov.nasa.worldwindx.examples
Class WebBrowserBalloons
java.lang.Object
gov.nasa.worldwindx.examples.ApplicationTemplate
gov.nasa.worldwindx.examples.WebBrowserBalloons
public class WebBrowserBalloons
- extends ApplicationTemplate
Illustrates how to use World Wind browser balloons to display HTML, JavaScript, and Flash content to the user in the
form of a screen-aligned balloon. There are two browser balloon types: 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 Balloon.setText(String) with a string containing either plain text or HTML + JavaScript. The balloon's visual
attributes are specified by calling Balloon.setAttributes(gov.nasa.worldwind.render.BalloonAttributes)
with an instance of BalloonAttributes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BROWSER_BALLOON_CONTENT_PATH
protected static final String BROWSER_BALLOON_CONTENT_PATH
- See Also:
- Constant Field Values
WebBrowserBalloons
public WebBrowserBalloons()
main
public static void main(String[] args)