APIdia Launch Partner
Top Fields Constructors Methods
com.sun.webkit

pack-priv final Class WCPluginWidget

extends WCWidget
implements PluginListener
Class Inheritance
All Implemented Interfaces
com.sun.webkit.plugin.PluginListener
Imports
com.sun.javafx.logging.PlatformLogger, java.net.MalformedURLException, .URL, com.sun.webkit.plugin.Plugin, .PluginListener, .PluginManager, com.sun.webkit.graphics.WCGraphicsContext, .WCRectangle

Field Summary

Modifier and TypeField and Description
private static final PlatformLogger
private long
private final Plugin

Constructor Summary

AccessConstructor and Description
private
WCPluginWidget(WebPage webPage, Plugin plugin, int width, int height)

Method Summary

Modifier and TypeMethod and Description
private static WCPluginWidget
create(final WebPage webPage, final int width, final int height, final String urlString, final String mimeType, final String[] pNames, final String[] pValues)

protected void
public String
fwkEvent(final int eventId, final String name, final String params)

Implements com.sun.webkit.plugin.PluginListener.fwkEvent.

Plagin-intiated event

private boolean
fwkHandleMouseEvent(String type, int offsetX, int offsetY, int screenX, int screenY, int button, boolean buttonDown, boolean altKey, boolean metaKey, boolean ctrlKey, boolean shiftKey, long timeStamp)

public void
fwkRedraw(final int x, final int y, final int width, final int height, final boolean eraseBackground)

Implements com.sun.webkit.plugin.PluginListener.fwkRedraw.

Plagin-intiated redraw in bounds

private void
fwkSetNativeContainerBounds(int x, int y, int width, int height)

private static native void
private void
paint(WCGraphicsContext g, final int x, final int y, final int width, final int height)

protected void
pack-priv void
setBounds(int x, int y, int width, int height)

Overrides com.sun.webkit.WCWidget.setBounds.

private void
setEnabled(boolean enabled)

protected void
private native WCRectangle
private native void
twkInvalidateWindowlessPluginRect(int x, int y, int width, int height)

private native void
twkSetPlugunFocused(boolean isFocused)

Inherited from com.sun.webkit.WCWidget:
fwkGetScreenDepthfwkGetScreenRectgetBoundsgetPagesetCursor

Field Detail

logback to summary
private static final PlatformLogger log

Hides com.sun.webkit.WCWidget.log.

pDataback to summary
private long pData
pluginback to summary
private final Plugin plugin

Constructor Detail

WCPluginWidgetback to summary
private WCPluginWidget(WebPage webPage, Plugin plugin, int width, int height)

Method Detail

createback to summary
private static WCPluginWidget create(final WebPage webPage, final int width, final int height, final String urlString, final String mimeType, final String[] pNames, final String[] pValues)
destroyback to summary
protected void destroy()

Overrides com.sun.webkit.WCWidget.destroy.

Annotations
@Override
fwkEventback to summary
public String fwkEvent(final int eventId, final String name, final String params)

Implements com.sun.webkit.plugin.PluginListener.fwkEvent.

Doc from com.sun.webkit.plugin.PluginListener.fwkEvent.

Plagin-intiated event

Annotations
@Override
fwkHandleMouseEventback to summary
private boolean fwkHandleMouseEvent(String type, int offsetX, int offsetY, int screenX, int screenY, int button, boolean buttonDown, boolean altKey, boolean metaKey, boolean ctrlKey, boolean shiftKey, long timeStamp)
fwkRedrawback to summary
public void fwkRedraw(final int x, final int y, final int width, final int height, final boolean eraseBackground)

Implements com.sun.webkit.plugin.PluginListener.fwkRedraw.

Doc from com.sun.webkit.plugin.PluginListener.fwkRedraw.

Plagin-intiated redraw in bounds

Annotations
@Override
fwkSetNativeContainerBoundsback to summary
private void fwkSetNativeContainerBounds(int x, int y, int width, int height)
initIDsback to summary
private static native void initIDs()

Hides com.sun.webkit.WCWidget.initIDs.

paintback to summary
private void paint(WCGraphicsContext g, final int x, final int y, final int width, final int height)
requestFocusback to summary
protected void requestFocus()

Overrides com.sun.webkit.WCWidget.requestFocus.

Annotations
@Override
setBoundsback to summary
pack-priv void setBounds(int x, int y, int width, int height)

Overrides com.sun.webkit.WCWidget.setBounds.

Annotations
@Override
setEnabledback to summary
private void setEnabled(boolean enabled)
setVisibleback to summary
protected void setVisible(boolean visible)

Overrides com.sun.webkit.WCWidget.setVisible.

Annotations
@Override
twkConvertToPageback to summary
private native WCRectangle twkConvertToPage(WCRectangle rc)
twkInvalidateWindowlessPluginRectback to summary
private native void twkInvalidateWindowlessPluginRect(int x, int y, int width, int height)
twkSetPlugunFocusedback to summary
private native void twkSetPlugunFocused(boolean isFocused)