public class MSAA extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CHILDID_SELF |
static int |
NAVDIR_DOWN |
static int |
NAVDIR_FIRSTCHILD |
static int |
NAVDIR_LASTCHILD |
static int |
NAVDIR_LEFT |
static int |
NAVDIR_NEXT |
static int |
NAVDIR_PREVIOUS |
static int |
NAVDIR_RIGHT |
static int |
NAVDIR_UP |
static int |
ROLE_SYSTEM_CHECKBUTTON |
static int |
ROLE_SYSTEM_CLIENT |
static int |
ROLE_SYSTEM_LINK |
static int |
ROLE_SYSTEM_PUSHBUTTON |
static int |
ROLE_SYSTEM_RADIOBUTTON |
static int |
ROLE_SYSTEM_TEXT |
static int |
ROLE_SYSTEM_WINDOW |
static int |
SELFLAG_REMOVESELECTION |
static int |
SELFLAG_TAKEFOCUS |
static int |
STATE_INVISIBLE |
static int |
STATE_OFFSCREEN |
static int |
STATE_READONLY |
Constructor and Description |
---|
MSAA() |
Modifier and Type | Method and Description |
---|---|
static Object[] |
getAccessibleChildren(IDispatch idisp,
int start,
int count)
Wrapper for AccessibleChildren method
see http://msdn.microsoft.com/en-us/library/ms697243(VS.85).aspx
|
static long |
getAccessibleObjectFromWindow(long hwnd)
Wrapper for AccessibleObjectFromWindow method
see http://msdn.microsoft.com/en-us/library/ms696137(VS.85).aspx
|
static String |
getRoleText(int accRole)
Wrapper for GetRoleText method
see http://msdn.microsoft.com/en-us/library/ms696193(VS.85).aspx
|
static long |
WindowFromAccessibleObject(long ptr)
Wrapper for WindowFromAccessibleObject method
see http://msdn.microsoft.com/en-us/library/ms697201(VS.85).aspx
|
public static final int CHILDID_SELF
public static final int NAVDIR_DOWN
public static final int NAVDIR_FIRSTCHILD
public static final int NAVDIR_LASTCHILD
public static final int NAVDIR_LEFT
public static final int NAVDIR_NEXT
public static final int NAVDIR_PREVIOUS
public static final int NAVDIR_RIGHT
public static final int NAVDIR_UP
public static final int SELFLAG_TAKEFOCUS
public static final int SELFLAG_REMOVESELECTION
public static final int STATE_READONLY
public static final int STATE_INVISIBLE
public static final int STATE_OFFSCREEN
public static final int ROLE_SYSTEM_WINDOW
public static final int ROLE_SYSTEM_CLIENT
public static final int ROLE_SYSTEM_LINK
public static final int ROLE_SYSTEM_TEXT
public static final int ROLE_SYSTEM_PUSHBUTTON
public static final int ROLE_SYSTEM_CHECKBUTTON
public static final int ROLE_SYSTEM_RADIOBUTTON
public static String getRoleText(int accRole)
accRole
- the object role constantspublic static long WindowFromAccessibleObject(long ptr)
ptr
- the pointer to the IAccessiblepublic static Object[] getAccessibleChildren(IDispatch idisp, int start, int count)
idisp
- the parent objectstart
- the index of the first childcount
- the amount of children to retrievepublic static long getAccessibleObjectFromWindow(long hwnd)
hwnd
- the window handle