Package com.l2fprod.gui.nativeskin.win32
Class Win32NativeSkin
java.lang.Object
com.l2fprod.gui.nativeskin.NativeSkin
com.l2fprod.gui.nativeskin.win32.Win32NativeSkin
Win32 Implementation.
- Version:
- $Revision: 1.4 $, $Date: 2004/08/10 18:38:13 $
- Author:
- $Author: l2fprod $, Herve Lemaitre (setWindowImageRegion0)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncombineRegions
(Region region1, Region region2, int combineMode) Description of the MethodcreateEllipticRegion
(int x1, int y1, int x2, int y2) Description of the MethodcreatePolygonRegion
(int[] xpoints, int[] ypoints, int fillMode) Description of the MethodcreateRectangleRegion
(int x1, int y1, int x2, int y2) Description of the MethodcreateRegion
(Image image, int width, int height) Description of the MethodcreateRoundRectangleRegion
(int x1, int y1, int x2, int y2, int x3, int y3) Description of the Methodvoid
setAlwaysOnTop
(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
(Window window, Region region, boolean redraw) Sets the WindowRegion attribute of the Win32RegionBuilder objectvoid
setWindowTransparency
(Window window, int transparency) Set the transparency of the given Window.Methods inherited from class com.l2fprod.gui.nativeskin.NativeSkin
createRegion, getInstance, isSupported
-
Constructor Details
-
Win32NativeSkin
public Win32NativeSkin()
-
-
Method Details
-
setWindowTransparency
Description copied from class:NativeSkin
Set the transparency of the given Window.- Overrides:
setWindowTransparency
in classNativeSkin
- Parameters:
window
- aWindow
valuetransparency
- anint
value
-
setWindowRegion
Sets the WindowRegion attribute of the Win32RegionBuilder object- Overrides:
setWindowRegion
in classNativeSkin
- Parameters:
window
- The new WindowRegion valueregion
- The new WindowRegion valueredraw
- The new WindowRegion value
-
setWindowRegion
Description copied from class:NativeSkin
Sets the Region for the graphical object identified by the given native handle. This method may be used with environment such as Eclipse/SWT where it is easy to get the native handle of any "Shell" object as it is a public member variable.- Overrides:
setWindowRegion
in classNativeSkin
- Parameters:
handle
- anint
valueregion
- aRegion
valueredraw
- aboolean
value
-
createEllipticRegion
Description of the Method- Overrides:
createEllipticRegion
in classNativeSkin
- Parameters:
x1
- Description of Parametery1
- Description of Parameterx2
- Description of Parametery2
- Description of Parameter- Returns:
- Description of the Returned Value
-
createRectangleRegion
Description of the Method- Overrides:
createRectangleRegion
in classNativeSkin
- Parameters:
x1
- Description of Parametery1
- Description of Parameterx2
- Description of Parametery2
- Description of Parameter- Returns:
- Description of the Returned Value
-
createRoundRectangleRegion
Description of the Method- Overrides:
createRoundRectangleRegion
in classNativeSkin
- Parameters:
x1
- Description of Parametery1
- Description of Parameterx2
- Description of Parametery2
- Description of Parameterx3
- Description of Parametery3
- Description of Parameter- Returns:
- Description of the Returned Value
-
createPolygonRegion
Description of the Method- Overrides:
createPolygonRegion
in classNativeSkin
- Parameters:
xpoints
- Description of Parameterypoints
- Description of ParameterfillMode
- Description of Parameter- Returns:
- Description of the Returned Value
-
combineRegions
Description of the Method- Overrides:
combineRegions
in classNativeSkin
- Parameters:
region1
- Description of Parameterregion2
- Description of ParametercombineMode
- Description of Parameter- Returns:
- Description of the Returned Value
-
setAlwaysOnTop
Description copied from class:NativeSkin
Set the window to be always on top of the others.- Overrides:
setAlwaysOnTop
in classNativeSkin
- Parameters:
window
- aWindow
valueenable
- true to put window on top, false to restore the default behaviour
-
createRegion
Description of the Method- Overrides:
createRegion
in classNativeSkin
- Parameters:
image
- Description of Parameterwidth
- Description of Parameterheight
- Description of Parameter- Returns:
- Description of the Returned Value
-