|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.moesol.bindings.platform_sdk.windows_api.PlatformSDK
public class PlatformSDK
Constructor Summary | |
---|---|
PlatformSDK()
|
Method Summary | |
---|---|
static int |
DispatchMessage(MSG msg)
See PlatformSDK: DispatchMessage |
static String |
FormatMessage(int lresult)
Format a system error code into a message. |
static short |
GetAsyncKeyState(int vKey)
See PlatformSDK GetAsyncKeyState |
static int |
GetCurrentDirectory(String[] out_dir)
|
static int |
GetDeviceCaps(HDC hdc,
int nIndex)
|
static long |
GetDoubleClickTime()
See PlatformSDK: GetDoubleClickTime |
static int |
GetLastError()
|
static boolean |
GetMessage(MSG lpMsg,
HWND hWnd,
int wMsgFilterMin,
int wMsgFilterMax)
See PlatformSDK: GetMessage |
static int |
GetSystemMetrics(int nIndex)
|
static void |
GetTextExtentPoint32(HDC hdc,
String lpString,
SIZE[] out_size)
|
static int |
jni_GetCurrentDirectory(String[] out_dir)
|
static boolean |
jni_SetCurrentDirectory(String dir)
|
static void |
PostMessage(HWND hWnd,
int Msg,
int wParam,
int lParam)
See PlatformSDK: PostMessage |
static void |
PostMessage(HWND hWnd,
int Msg,
int wParam,
Object lParam)
Post a message to a window that references a java object. |
static void |
RegCloseKey(HKEY aKey)
|
static void |
RegCreateKeyEx(HKEY hKey,
String lpSubKey,
int Reserved,
String lpClass,
int dwOptions,
int samDesired,
SECURITY_ATTRIBUTES secAttrs,
HKEY[] phkResult,
long[] lpdwDisposition)
Currently this method doesn't supprot the LPSECURITY_ATTRIBUTES parameter of the actual win32 call. |
static void |
RegDeleteKey(HKEY hKey,
String subKey)
|
static void |
RegDeleteValue(HKEY hKey,
String valueName)
|
static int |
RegEnumKey(HKEY hKey,
int index,
String[] out_name)
|
static void |
RegNotifyChangeKeyValue(HKEY hKey,
boolean bWatchSubtree,
int dwNotifyFilter,
HANDLE event,
boolean fAsynchronous)
|
static void |
RegOpenKeyEx(HKEY hKey,
String subKeyName,
int options,
int samDesired,
HKEY[] outKey)
|
static void |
RegQueryValue(HKEY openedKey,
String subKeyName,
Object[] outObject)
|
static void |
RegSetKeyEx(HKEY openedKey,
String subKeyName,
Object valueToSet)
Deprecated. As of jSegue 1.5 replaced by RegSetValueEx(HKEY, String, Object) |
static void |
RegSetValueEx(HKEY openedKey,
String subKeyName,
Object valueToSet)
|
static int |
SendMessage(HWND hWnd,
int Msg,
int wParam,
int lParam)
See PlatformSDK: SendMessage |
static int |
SendMessage(HWND hWnd,
int Msg,
int wParam,
Object lParam)
See PlatformSDK: SendMessage |
static boolean |
SetCurrentDirectory(String dir)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ERROR_SUCCESS
public static final int ERROR_INVALID_FUNCTION
public static final int ERROR_FILE_NOT_FOUND
public static final int ERROR_NO_MORE_ITEMS
public static final int RPC_E_WRONG_THREAD
public static final HKEY HKEY_CLASSES_ROOT
public static final HKEY HKEY_CURRENT_USER
public static final HKEY HKEY_LOCAL_MACHINE
public static final HKEY HKEY_USERS
public static final HKEY HKEY_PERFORMANCE_DATA
public static final HKEY HKEY_CURRENT_CONFIG
public static final HKEY HKEY_DYN_DATA
public static final int DRIVERVERSION
public static final int TECHNOLOGY
public static final int HORZSIZE
public static final int VERTSIZE
public static final int HORZRES
public static final int VERTRES
public static final int BITSPIXEL
public static final int PLANES
public static final int NUMBRUSHES
public static final int NUMPENS
public static final int NUMMARKERS
public static final int NUMFONTS
public static final int NUMCOLORS
public static final int PDEVICESIZE
public static final int CURVECAPS
public static final int LINECAPS
public static final int POLYGONALCAPS
public static final int TEXTCAPS
public static final int CLIPCAPS
public static final int RASTERCAPS
public static final int ASPECTX
public static final int ASPECTY
public static final int ASPECTXY
public static final int SHADEBLENDCAPS
public static final int LOGPIXELSX
public static final int LOGPIXELSY
public static final int SIZEPALETTE
public static final int NUMRESERVED
public static final int COLORRES
public static final int STANDARD_RIGHTS_ALL
public static final int READ_CONTROL
public static final int SYNCHRONIZE
public static final int STANDARD_RIGHTS_READ
public static final int STANDARD_RIGHTS_WRITE
public static final int STANDARD_RIGHTS_EXECUTE
public static final int KEY_QUERY_VALUE
public static final int KEY_SET_VALUE
public static final int KEY_CREATE_SUB_KEY
public static final int KEY_ENUMERATE_SUB_KEYS
public static final int KEY_NOTIFY
public static final int KEY_CREATE_LINK
public static final int KEY_READ
public static final int KEY_WRITE
public static final int KEY_EXECUTE
public static final int KEY_ALL_ACCESS
public static final int REG_OPTION_RESERVED
public static final int REG_OPTION_NON_VOLATILE
public static final int REG_OPTION_VOLATILE
public static final int REG_CREATED_NEW_KEY
public static final int REG_OPENED_EXISTING_KEY
public static final int REG_NOTIFY_CHANGE_NAME
public static final int REG_NOTIFY_CHANGE_ATTRIBUTES
public static final int REG_NOTIFY_CHANGE_LAST_SET
public static final int REG_NOTIFY_CHANGE_SECURITY
public static final int SM_CXSCREEN
public static final int SM_CYSCREEN
public static final int SM_CXVSCROLL
public static final int SM_CYHSCROLL
public static final int SM_CYCAPTION
public static final int SM_CXBORDER
public static final int SM_CYBORDER
public static final int SM_CXDLGFRAME
public static final int SM_CYDLGFRAME
public static final int SM_CYVTHUMB
public static final int SM_CXHTHUMB
public static final int SM_CXICON
public static final int SM_CYICON
public static final int SM_CXCURSOR
public static final int SM_CYCURSOR
public static final int SM_CYMENU
public static final int SM_CXFULLSCREEN
public static final int SM_CYFULLSCREEN
public static final int SM_CYKANJIWINDOW
public static final int SM_MOUSEPRESENT
public static final int SM_CYVSCROLL
public static final int SM_CXHSCROLL
public static final int SM_DEBUG
public static final int SM_SWAPBUTTON
public static final int SM_RESERVED1
public static final int SM_RESERVED2
public static final int SM_RESERVED3
public static final int SM_RESERVED4
public static final int SM_CXMIN
public static final int SM_CYMIN
public static final int SM_CXSIZE
public static final int SM_CYSIZE
public static final int SM_CXFRAME
public static final int SM_CYFRAME
public static final int SM_CXMINTRACK
public static final int SM_CYMINTRACK
public static final int SM_CXDOUBLECLK
public static final int SM_CYDOUBLECLK
public static final int SM_CXICONSPACING
public static final int SM_CYICONSPACING
public static final int SM_MENUDROPALIGNMENT
public static final int SM_PENWINDOWS
public static final int SM_DBCSENABLED
public static final int SM_CMOUSEBUTTONS
public static final int VK_LBUTTON
public static final int VK_RBUTTON
public static final int VK_CANCEL
public static final int VK_MBUTTON
public static final int VK_SHIFT
public static final int VK_CONTROL
public static final int VK_MENU
public static final int VK_CAPITAL
public static final int SW_HIDE
public static final int SW_SHOWNORMAL
public static final int SW_NORMAL
public static final int SW_SHOWMINIMIZED
public static final int SW_SHOWMAXIMIZED
public static final int SW_MAXIMIZE
public static final int SW_SHOWNOACTIVATE
public static final int SW_SHOW
public static final int SW_MINIMIZE
public static final int SW_SHOWMINNOACTIVE
public static final int SW_SHOWNA
public static final int SW_RESTORE
public static final int SW_SHOWDEFAULT
public static final int SW_FORCEMINIMIZE
public static final int SW_MAX
public static final int PROPPAGESTATUS_DIRTY
public static final int PROPPAGESTATUS_VALIDATE
public static final int PROPPAGESTATUS_CLEAN
Constructor Detail |
---|
public PlatformSDK()
Method Detail |
---|
public static boolean GetMessage(MSG lpMsg, HWND hWnd, int wMsgFilterMin, int wMsgFilterMax)
lpMsg
- hWnd
- wMsgFilterMin
- wMsgFilterMax
-
Win32Exception
public static int DispatchMessage(MSG msg)
msg
-
public static void PostMessage(HWND hWnd, int Msg, int wParam, int lParam)
hWnd
- Msg
- wParam
- lParam
-
Win32Exception
public static void PostMessage(HWND hWnd, int Msg, int wParam, Object lParam)
hWnd
- Msg
- wParam
- lParam
- public static String FormatMessage(int lresult)
lresult
-
public static short GetAsyncKeyState(int vKey)
vKey
-
public static int GetDeviceCaps(HDC hdc, int nIndex)
public static int GetLastError()
public static void GetTextExtentPoint32(HDC hdc, String lpString, SIZE[] out_size)
public static int GetSystemMetrics(int nIndex)
public static void RegOpenKeyEx(HKEY hKey, String subKeyName, int options, int samDesired, HKEY[] outKey)
public static int RegEnumKey(HKEY hKey, int index, String[] out_name)
public static void RegQueryValue(HKEY openedKey, String subKeyName, Object[] outObject)
public static void RegCloseKey(HKEY aKey)
public static void RegSetKeyEx(HKEY openedKey, String subKeyName, Object valueToSet)
RegSetValueEx(HKEY, String, Object)
openedKey
- subKeyName
- valueToSet
- public static void RegSetValueEx(HKEY openedKey, String subKeyName, Object valueToSet)
public static boolean SetCurrentDirectory(String dir)
public static boolean jni_SetCurrentDirectory(String dir)
public static int GetCurrentDirectory(String[] out_dir)
public static int jni_GetCurrentDirectory(String[] out_dir)
public static void RegCreateKeyEx(HKEY hKey, String lpSubKey, int Reserved, String lpClass, int dwOptions, int samDesired, SECURITY_ATTRIBUTES secAttrs, HKEY[] phkResult, long[] lpdwDisposition)
public static void RegDeleteKey(HKEY hKey, String subKey)
public static void RegDeleteValue(HKEY hKey, String valueName)
public static void RegNotifyChangeKeyValue(HKEY hKey, boolean bWatchSubtree, int dwNotifyFilter, HANDLE event, boolean fAsynchronous)
public static int SendMessage(HWND hWnd, int Msg, int wParam, int lParam)
public static int SendMessage(HWND hWnd, int Msg, int wParam, Object lParam)
public static long GetDoubleClickTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |