|
JNA API> 3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jna.examples.WindowUtils.NativeWindowUtils
public abstract static class WindowUtils.NativeWindowUtils
Window utilities with differing native implementations.
Constructor Summary | |
---|---|
WindowUtils.NativeWindowUtils()
|
Method Summary | |
---|---|
GraphicsConfiguration |
getAlphaCompatibleGraphicsConfiguration()
Return the default graphics configuration. |
boolean |
isWindowAlphaSupported()
Default: no support. |
protected void |
setForceHeavyweightPopups(Window w,
boolean force)
Use this method to ensure heavyweight popups are used in conjunction with a given window. |
protected void |
setLayersTransparent(Window w,
boolean transparent)
|
void |
setWindowAlpha(Window w,
float alpha)
Set the overall alpha transparency of the window. |
void |
setWindowMask(Window w,
Icon mask)
Set the window mask based on an Icon. |
abstract void |
setWindowMask(Window w,
Raster raster)
Set the window mask based on the given Raster, which should be treated as a bitmap (zero/nonzero values only). |
void |
setWindowMask(Window w,
Shape mask)
Set the window mask based on a Shape . |
void |
setWindowTransparent(Window w,
boolean transparent)
Set the window to be transparent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindowUtils.NativeWindowUtils()
Method Detail |
---|
public void setWindowAlpha(Window w, float alpha)
public boolean isWindowAlphaSupported()
public GraphicsConfiguration getAlphaCompatibleGraphicsConfiguration()
public void setWindowTransparent(Window w, boolean transparent)
protected void setLayersTransparent(Window w, boolean transparent)
public abstract void setWindowMask(Window w, Raster raster)
null
means to remove the mask.
public void setWindowMask(Window w, Shape mask)
Shape
.
public void setWindowMask(Window w, Icon mask)
protected void setForceHeavyweightPopups(Window w, boolean force)
|
JNA API> 3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |