public final class Win32NativeSkin extends NativeSkin
Constructor | Description |
---|---|
Win32NativeSkin() |
Modifier and Type | Method | Description |
---|---|---|
Region |
combineRegions(Region region1,
Region region2,
int combineMode) |
Description of the Method
|
Region |
createEllipticRegion(int x1,
int y1,
int x2,
int y2) |
Description of the Method
|
Region |
createPolygonRegion(int[] xpoints,
int[] ypoints,
int fillMode) |
Description of the Method
|
Region |
createRectangleRegion(int x1,
int y1,
int x2,
int y2) |
Description of the Method
|
Region |
createRegion(java.awt.Image image,
int width,
int height) |
Description of the Method
|
Region |
createRoundRectangleRegion(int x1,
int y1,
int x2,
int y2,
int x3,
int y3) |
Description of the Method
|
void |
setAlwaysOnTop(java.awt.Window window,
boolean enable) |
Set the window to be always on top of the others.
|
void |
setWindowRegion(int handle,
Region region,
boolean redraw) |
Sets the Region for the graphical object identified by
the given native handle.
|
void |
setWindowRegion(java.awt.Window window,
Region region,
boolean redraw) |
Sets the WindowRegion attribute of the Win32RegionBuilder object
|
void |
setWindowTransparency(java.awt.Window window,
int transparency) |
Set the transparency of the given Window.
|
createRegion, getInstance, isSupported
public void setWindowTransparency(java.awt.Window window, int transparency)
NativeSkin
setWindowTransparency
in class NativeSkin
window
- a Window
valuetransparency
- an int
valuepublic void setWindowRegion(java.awt.Window window, Region region, boolean redraw)
setWindowRegion
in class NativeSkin
window
- The new WindowRegion valueregion
- The new WindowRegion valueredraw
- The new WindowRegion valuepublic void setWindowRegion(int handle, Region region, boolean redraw)
NativeSkin
setWindowRegion
in class NativeSkin
handle
- an int
valueregion
- a Region
valueredraw
- a boolean
valuepublic Region createEllipticRegion(int x1, int y1, int x2, int y2)
createEllipticRegion
in class NativeSkin
x1
- Description of Parametery1
- Description of Parameterx2
- Description of Parametery2
- Description of Parameterpublic Region createRectangleRegion(int x1, int y1, int x2, int y2)
createRectangleRegion
in class NativeSkin
x1
- Description of Parametery1
- Description of Parameterx2
- Description of Parametery2
- Description of Parameterpublic Region createRoundRectangleRegion(int x1, int y1, int x2, int y2, int x3, int y3)
createRoundRectangleRegion
in class NativeSkin
x1
- Description of Parametery1
- Description of Parameterx2
- Description of Parametery2
- Description of Parameterx3
- Description of Parametery3
- Description of Parameterpublic Region createPolygonRegion(int[] xpoints, int[] ypoints, int fillMode)
createPolygonRegion
in class NativeSkin
xpoints
- Description of Parameterypoints
- Description of ParameterfillMode
- Description of Parameterpublic Region combineRegions(Region region1, Region region2, int combineMode)
combineRegions
in class NativeSkin
region1
- Description of Parameterregion2
- Description of ParametercombineMode
- Description of Parameterpublic void setAlwaysOnTop(java.awt.Window window, boolean enable)
NativeSkin
setAlwaysOnTop
in class NativeSkin
window
- a Window
valueenable
- true to put window on top, false to restore the default behaviourpublic Region createRegion(java.awt.Image image, int width, int height)
createRegion
in class NativeSkin
image
- Description of Parameterwidth
- Description of Parameterheight
- Description of Parameter