public abstract class AbstractWebView extends WWObjectImpl implements WebView, Disposable
WebView implementations.| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | activeIndicates whether the WebView is active. | 
| protected Dimension | frameSizeThe size of the WebView frame in pixels. | 
| protected WWTexture | textureRepThe WebView's current texture representation. | 
| Constructor and Description | 
|---|
| AbstractWebView() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract WWTexture | createTextureRepresentation(DrawContext dc)Create a texture representation of the WebView. | 
| protected abstract void | doSetFrameSize(Dimension size) | 
| protected void | finalize()Overridden to ensure that the WebView's native resources are disposed when the WebView is reclaimed by the
 garbage collector. | 
| Dimension | getFrameSize()Returns the size in pixels of this WebView's frame. | 
| WWTexture | getTextureRepresentation(DrawContext dc)Returns a layed out and rendered representation of the WebView's content as a  WWTexture. | 
| boolean | isActive()Indicates whether or not this WebView is active. | 
| void | propertyChange(PropertyChangeEvent event)The property change listener for this instance. | 
| void | setActive(boolean active)Called when this WebView is activated or deactivated. | 
| void | setFrameSize(Dimension size)Specifies the size in pixels of this WebView's frame. | 
onMessageaddPropertyChangeListener, 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, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBackgroundColor, getContentSize, getContentURL, getLinks, getMinContentSize, goBack, goForward, sendEvent, setBackgroundColor, setHTMLString, setHTMLString, setHTMLString, setMinContentSizeaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesdisposeprotected boolean active
protected Dimension frameSize
protected WWTexture textureRep
getTextureRepresentation(gov.nasa.worldwind.render.DrawContext).protected abstract WWTexture createTextureRepresentation(DrawContext dc)
dc - draw context.protected abstract void doSetFrameSize(Dimension size)
protected void finalize()
                 throws Throwable
Disposable.dispose().public Dimension getFrameSize()
null if this WebView's frame size
 is unspecified.getFrameSize in interface WebViewnull if it's unspecified.WebView.setFrameSize(java.awt.Dimension)public WWTexture getTextureRepresentation(DrawContext dc)
WWTexture. The texture's image source is the WebView, and its dimensions are large
 enough to capture the WebView's frame size (see WebView.setFrameSize(java.awt.Dimension).
 
 On machines that support non-power-of-two sized textures, the texture's dimensions are always equal to the
 WebView's frame size. Otherwise, the texture's dimensions are the smallest power-of-two that captures the
 WebView's frame size.getTextureRepresentation in interface WebViewdc - The draw context the WebView is associated with.WWTexture.public boolean isActive()
public void propertyChange(PropertyChangeEvent event)
WWObjectImplpropertyChange in interface PropertyChangeListenerpropertyChange in class WWObjectImplevent - the eventpublic void setActive(boolean active)
setActive in interface WebViewactive - true if this WebView is being activated. false if this WebView is being
               deactivated.WebView.sendEvent(java.awt.event.InputEvent)public void setFrameSize(Dimension size)
setFrameSize in interface WebViewsize - the size of this WebView's frame in pixels.