final class WCPluginWidget extends WCWidget implements PluginListener
Modifier and Type | Field and Description |
---|---|
private static java.util.logging.Logger |
log |
private long |
pData |
private Plugin |
plugin |
Modifier | Constructor and Description |
---|---|
private |
WCPluginWidget(WebPage webPage,
Plugin plugin,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
private static WCPluginWidget |
create(WebPage webPage,
int width,
int height,
java.lang.String urlString,
java.lang.String mimeType,
java.lang.String[] pNames,
java.lang.String[] pValues) |
protected void |
destroy() |
java.lang.String |
fwkEvent(int eventId,
java.lang.String name,
java.lang.String params)
Plagin-intiated event
|
private boolean |
fwkHandleMouseEvent(java.lang.String type,
int offsetX,
int offsetY,
int screenX,
int screenY,
int button,
boolean buttonDown,
boolean altKey,
boolean metaKey,
boolean ctrlKey,
boolean shiftKey,
long timeStamp) |
void |
fwkRedraw(int x,
int y,
int width,
int height,
boolean eraseBackground)
Plagin-intiated redraw in bounds
|
private void |
fwkSetNativeContainerBounds(int x,
int y,
int width,
int height) |
private static void |
initIDs() |
private void |
paint(WCGraphicsContext g,
int x,
int y,
int width,
int height) |
protected void |
requestFocus() |
(package private) void |
setBounds(int x,
int y,
int width,
int height) |
private void |
setEnabled(boolean enabled) |
protected void |
setVisible(boolean visible) |
private WCRectangle |
twkConvertToPage(WCRectangle rc) |
private void |
twkInvalidateWindowlessPluginRect(int x,
int y,
int width,
int height) |
private void |
twkSetPlugunFocused(boolean isFocused) |
fwkGetScreenDepth, fwkGetScreenRect, getBounds, getPage, setCursor
private static final java.util.logging.Logger log
private final Plugin plugin
private long pData
private static void initIDs()
protected void requestFocus()
requestFocus
in class WCWidget
private static WCPluginWidget create(WebPage webPage, int width, int height, java.lang.String urlString, java.lang.String mimeType, java.lang.String[] pNames, java.lang.String[] pValues)
private void fwkSetNativeContainerBounds(int x, int y, int width, int height)
void setBounds(int x, int y, int width, int height)
private void setEnabled(boolean enabled)
protected void setVisible(boolean visible)
setVisible
in class WCWidget
private void paint(WCGraphicsContext g, int x, int y, int width, int height)
private WCRectangle twkConvertToPage(WCRectangle rc)
private void twkInvalidateWindowlessPluginRect(int x, int y, int width, int height)
private boolean fwkHandleMouseEvent(java.lang.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(int x, int y, int width, int height, boolean eraseBackground)
PluginListener
fwkRedraw
in interface PluginListener
private void twkSetPlugunFocused(boolean isFocused)
public java.lang.String fwkEvent(int eventId, java.lang.String name, java.lang.String params)
PluginListener
fwkEvent
in interface PluginListener