|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dsto.dfc.util.win32.Win32
public final class Win32
General Win32 initialisation and utilities.
Field Summary | |
---|---|
static int |
CSIDL_APPDATA
|
static int |
CSIDL_LOCAL_APPDATA
|
static int |
DESKTOP_BOTTOM
|
static int |
DESKTOP_LEFT
|
static int |
DESKTOP_RIGHT
|
static int |
DESKTOP_TOP
|
static int |
PBT_APMRESUMESUSPEND
|
static int |
PBT_APMSUSPEND
|
static int |
WIN32_NOK_LIBRARY
|
static int |
WIN32_NOK_OTHER
|
static int |
WIN32_NOK_PLATFORM
|
static int |
WIN32_OK
|
static int |
WM_LBUTTONDBLCLK
|
static int |
WM_LBUTTONDOWN
|
static int |
WM_LBUTTONUP
|
static int |
WM_MBUTTONDBLCLK
|
static int |
WM_MBUTTONDOWN
|
static int |
WM_MBUTTONUP
|
static int |
WM_MOUSEFIRST
|
static int |
WM_MOUSEMOVE
|
static int |
WM_RBUTTONDBLCLK
|
static int |
WM_RBUTTONDOWN
|
static int |
WM_RBUTTONUP
|
Method Summary | |
---|---|
static int |
getWin32State()
Get the state of the Win32 library. |
static void |
initLibrary()
Load and initialize the Win32 DLL. |
static boolean |
isWin32Available()
True if Win32 calls are available. |
protected static void |
powerCallback(int pbtEvent)
|
static void |
setPowerListener(PowerListener l)
|
static String |
shellGetFolderPath(int type)
Call the Win32 SHGetFolderPath () function to get a local folder location. |
static void |
winAppbarDock(int hwnd,
int position,
int width,
int height)
|
static void |
winAppbarUndock(int hwnd)
|
static boolean |
winInFullScreenMode()
|
static void |
winRegisterMessageWindow(int hwnd)
|
static void |
winSetAlwaysOnTop(int hwnd,
boolean onTop)
|
static void |
winSetOnTop(int hwnd,
boolean onTop)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int WIN32_OK
public static final int WIN32_NOK_PLATFORM
public static final int WIN32_NOK_LIBRARY
public static final int WIN32_NOK_OTHER
public static final int WM_MOUSEFIRST
public static final int WM_MOUSEMOVE
public static final int WM_LBUTTONDOWN
public static final int WM_LBUTTONUP
public static final int WM_LBUTTONDBLCLK
public static final int WM_RBUTTONDOWN
public static final int WM_RBUTTONUP
public static final int WM_RBUTTONDBLCLK
public static final int WM_MBUTTONDOWN
public static final int WM_MBUTTONUP
public static final int WM_MBUTTONDBLCLK
public static final int DESKTOP_LEFT
public static final int DESKTOP_TOP
public static final int DESKTOP_RIGHT
public static final int DESKTOP_BOTTOM
public static final int PBT_APMSUSPEND
public static final int PBT_APMRESUMESUSPEND
public static final int CSIDL_APPDATA
public static final int CSIDL_LOCAL_APPDATA
Method Detail |
---|
public static void initLibrary()
getWin32State()
public static int getWin32State()
isWin32Available()
public static boolean isWin32Available()
getWin32State () == WIN32_OK
getWin32State()
public static void setPowerListener(PowerListener l)
protected static void powerCallback(int pbtEvent)
public static String shellGetFolderPath(int type)
type
- The type of location. One of the CSIDL_* constants.
public static void winSetAlwaysOnTop(int hwnd, boolean onTop)
public static void winSetOnTop(int hwnd, boolean onTop)
public static void winAppbarDock(int hwnd, int position, int width, int height)
public static void winAppbarUndock(int hwnd)
public static boolean winInFullScreenMode()
public static void winRegisterMessageWindow(int hwnd)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |