public class ScreenBrowserBalloon extends AbstractBrowserBalloon implements ScreenBalloon
ScreenBalloon that displays HTML, JavaScript, and Flash content
using the system's native browser, and who's origin is located at a point on the screen.AbstractBrowserBalloonAbstractBrowserBalloon.BrowserControl, AbstractBrowserBalloon.FrameGeometryInfo, AbstractBrowserBalloon.OrderedBrowserBalloon| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Point |
screenLocation
Indicates this balloon's screen location.
|
browserControls, DEFAULT_NATIVE_SIZE, DEFAULT_OUTLINE_PICK_WIDTH, DEFAULT_WEB_VIEW_FACTORY, drawBrowserControls, drawResizeControl, drawTitleBar, FRAME_GEOMETRY_ELLIPSE_SLICES, FRAME_GEOMETRY_RECTANGLE_CORNER_SLICES, lastPickPoint, orderedRenderables, osh, outlinePickWidth, pickLayer, pickSupport, resourceResolver, screenBalloonPickFrame, screenBalloonRenderFrame, screenOffset, textUpdateTime, visibilityAction, webView, webViewContentSize, webViewCreationFailed, webViewTimeStampactiveAttributes, alwaysOnTop, attributes, defaultAttributes, delegateOwner, highlightAttributes, highlighted, maxActiveAltitude, minActiveAltitude, pickEnabled, text, textDecoder, visible| Constructor and Description |
|---|
ScreenBrowserBalloon(java.lang.String text,
java.awt.Point point)
Constructs a new
ScreenBrowserBalloon with the specified text content and screen location. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeBalloonPoints(DrawContext dc,
AbstractBrowserBalloon.OrderedBrowserBalloon obb)
Computes and stores this balloon's screen coordinates.
|
protected AbstractBrowserBalloon.OrderedBrowserBalloon |
createOrderedRenderable() |
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.
|
protected void |
setupDepthTest(DrawContext dc,
AbstractBrowserBalloon.OrderedBrowserBalloon obb) |
addAllBrowserControls, addBrowserControl, addBrowserControl, addBrowserControl, beginDrawing, bindWebViewTexture, computeFramePickRect, computeFrameRectForWebViewRect, computeGeometry, computeOffset, computeOutlinePickWidth, computeSize, computeWebViewRectForFrameRect, convertToWebView, createDefaultBrowserControls, createFrameVertices, createLinkPickedObject, createPickedObject, determineWebViewContentSize, dispose, disposeWebView, doDrawOrderedRenderable, drawBrowserControl, drawBrowserControls, drawFrame, drawFrameInterior, drawFrameOutline, drawLinks, drawOrderedRenderable, drawResizeControl, drawTitleBar, drawWebViewLinks, endDrawing, getBounds, getBrowserControls, getCursor, getOutlinePickWidth, getResourceResolver, getVisibilityAction, goBack, goForward, handleKeyEvent, handleMouseEvent, handleSelectEvent, intersectsFrustum, isActive, isDrawBrowserControls, isDrawBrowserControls, isDrawInterior, isDrawLinks, isDrawOutline, isDrawResizeControl, isDrawResizeControl, isDrawTitleBar, isDrawTitleBar, keyPressed, keyReleased, keyTyped, makeDefaultFrameVertices, makeEllipseFrameVertices, makeOrderedRenderable, makeRectangleFrameVertices, makeWebView, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, mustRegenerateGeometry, pick, prepareToDrawInterior, prepareToDrawOutline, propertyChange, removeAllBrowserControls, removeBrowserControl, render, selected, setActive, setDrawBrowserControls, setDrawResizeControl, setDrawTitleBar, setOutlinePickWidth, setResourceResolver, setVisibilityAction, setVisible, setWebViewContent, updateRenderState, updateRenderStateIfNeeded, updateWebViewdetermineActiveAttributes, getActiveAttributes, getAttributes, getDecodedText, getDelegateOwner, getHighlightAttributes, getMaxActiveAltitude, getMinActiveAltitude, getText, getTextDecoder, isAlwaysOnTop, isHighlighted, isPickEnabled, isVisible, setAlwaysOnTop, setAttributes, setDelegateOwner, setHighlightAttributes, setHighlighted, setMaxActiveAltitude, setMinActiveAltitude, setPickEnabled, setText, setTextDecoderonMessageaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributes, getBounds, getDelegateOwner, getHighlightAttributes, getMaxActiveAltitude, getMinActiveAltitude, getText, getTextDecoder, isAlwaysOnTop, isPickEnabled, isVisible, setAlwaysOnTop, setAttributes, setDelegateOwner, setHighlightAttributes, setMaxActiveAltitude, setMinActiveAltitude, setPickEnabled, setText, setTextDecoder, setVisiblerenderisHighlighted, setHighlightedaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesprotected java.awt.Point screenLocation
WorldWindow, with the y-axis pointing right and the x-axis pointing down.
Initialized to a non-null value at construction.public ScreenBrowserBalloon(java.lang.String text,
java.awt.Point point)
ScreenBrowserBalloon with the specified text content and screen location.text - the balloon's initial text content.point - the balloon's initial screen location, in AWT coordinates (origin at upper left corner of the
WorldWindow).java.lang.IllegalArgumentException - if either text or point are null.protected void computeBalloonPoints(DrawContext dc, AbstractBrowserBalloon.OrderedBrowserBalloon obb)
screenOffset - the balloon frame's screen-coordinate offset from this balloon's screen
location.screenRect - the balloon frame's screen-coordinate rectangle.screenExtent - this balloon's screen-coordinate bounding rectangle.screenPickExtent - this balloon's screen-coordinate bounding rectangle, including area covered
by the balloon's pickable outline.webViewRect - the WebView's screen-coordinate content
frame.
eyeDistance - always 0.computeBalloonPoints in class AbstractBrowserBalloondc - the current draw context.obb - the ordered browser balloon.protected AbstractBrowserBalloon.OrderedBrowserBalloon createOrderedRenderable()
createOrderedRenderable in class AbstractBrowserBalloonpublic java.awt.Point getScreenLocation()
getScreenLocation in interface ScreenBalloonpublic void setScreenLocation(java.awt.Point point)
setScreenLocation in interface ScreenBalloonpoint - Point in screen coordinates, with origin at upper left corner.protected void setupDepthTest(DrawContext dc, AbstractBrowserBalloon.OrderedBrowserBalloon obb)
setupDepthTest in class AbstractBrowserBalloon