org.eclipse.actf.accservice.core.win32.msaa
Class Msaa

java.lang.Object
  extended by org.eclipse.actf.accservice.core.win32.msaa.Msaa

public final class Msaa
extends Object

utility constants and methods for MSAA

Author:
Mike Smith, Kavitha Tegala, Mike Squillace

Field Summary
static String ACTF_MSAA_BUNDLE
           
static int MSAA_ROLE_ALERT
           
static int MSAA_ROLE_ANIMATION
           
static int MSAA_ROLE_APPLICATION
           
static int MSAA_ROLE_BORDER
           
static int MSAA_ROLE_BUTTON_DROPDOWN
           
static int MSAA_ROLE_BUTTON_DROPDOWN_GRID
           
static int MSAA_ROLE_BUTTON_MENU
           
static int MSAA_ROLE_CARET
           
static int MSAA_ROLE_CHARACTER
           
static int MSAA_ROLE_CHART
           
static int MSAA_ROLE_CHECK_BUTTON
           
static int MSAA_ROLE_CLIENT_AREA
           
static int MSAA_ROLE_CLOCK
           
static int MSAA_ROLE_COLUMN
           
static int MSAA_ROLE_COMBO_BOX
           
static int MSAA_ROLE_CURSOR
           
static int MSAA_ROLE_DIAGRAM
           
static int MSAA_ROLE_DIAL
           
static int MSAA_ROLE_DIALOG
           
static int MSAA_ROLE_DOCUMENT
           
static int MSAA_ROLE_DROP_LIST
           
static int MSAA_ROLE_EQUATION
           
static int MSAA_ROLE_GRAPHIC
           
static int MSAA_ROLE_GRIP
           
static int MSAA_ROLE_GROUPING
           
static int MSAA_ROLE_HELP_BALLOON
           
static int MSAA_ROLE_HOTKEY_FIELD
           
static int MSAA_ROLE_INDICATOR
           
static int MSAA_ROLE_IP_ADDRESS
           
static int MSAA_ROLE_LINK
           
static int MSAA_ROLE_LIST
           
static int MSAA_ROLE_LIST_ITEM
           
static int MSAA_ROLE_MENU_BAR
           
static int MSAA_ROLE_MENU_ITEM
           
static int MSAA_ROLE_MENU_POPUP
           
static int MSAA_ROLE_OUTLINE
           
static int MSAA_ROLE_OUTLINE_BUTTON
           
static int MSAA_ROLE_OUTLINE_ITEM
           
static int MSAA_ROLE_PAGETAB
           
static int MSAA_ROLE_PAGETABLIST
           
static int MSAA_ROLE_PANE
           
static int MSAA_ROLE_PROGRESS_BAR
           
static int MSAA_ROLE_PROPERTY_PAGE
           
static int MSAA_ROLE_PUSH_BUTTON
           
static int MSAA_ROLE_RADIO_BUTTON
           
static int MSAA_ROLE_ROW
           
static int MSAA_ROLE_SCROLL_BAR
           
static int MSAA_ROLE_SEPARATOR
           
static int MSAA_ROLE_SLIDER
           
static int MSAA_ROLE_SOUND
           
static int MSAA_ROLE_SPIN_BUTTON
           
static int MSAA_ROLE_SPLIT_BUTTON
           
static int MSAA_ROLE_STATICTEXT
           
static int MSAA_ROLE_STATUS_BAR
           
static int MSAA_ROLE_TABLE
           
static int MSAA_ROLE_TABLE_CELL
           
static int MSAA_ROLE_TABLE_COLUMN_HEADER
           
static int MSAA_ROLE_TABLE_ROW_HEADER
           
static int MSAA_ROLE_TEXT
           
static int MSAA_ROLE_TITLEBAR
           
static int MSAA_ROLE_TOOL_BAR
           
static int MSAA_ROLE_TOOL_TIP
           
static int MSAA_ROLE_WHITE_SPACE
           
static int MSAA_ROLE_WINDOW
           
static int MSAA_STATE_ALERT_HIGH
           
static int MSAA_STATE_ALERT_LOW
           
static int MSAA_STATE_ALERT_MEDIUM
           
static int MSAA_STATE_BUSY
           
static int MSAA_STATE_CHECKED
           
static int MSAA_STATE_COLLAPSED
           
static int MSAA_STATE_EXPANDED
           
static int MSAA_STATE_EXTSELECTABLE
           
static int MSAA_STATE_FOCUSABLE
           
static int MSAA_STATE_FOCUSED
           
static int MSAA_STATE_HASPOPUP
           
static int MSAA_STATE_HOTTRACKED
           
static int MSAA_STATE_INVISIBLE
           
static int MSAA_STATE_LINKED
           
static int MSAA_STATE_MOVEABLE
           
static int MSAA_STATE_MULTI_SELECTABLE
           
static int MSAA_STATE_NORMAL
           
static int MSAA_STATE_OFF_SCREEN
           
static int MSAA_STATE_PRESSED
           
static int MSAA_STATE_READ_ONLY
           
static int MSAA_STATE_SELECTABLE
           
static int MSAA_STATE_SELECTED
           
static int MSAA_STATE_SIZEABLE
           
static int MSAA_STATE_UNAVAILABLE
           
 
Constructor Summary
Msaa()
           
 
Method Summary
static String getMsaaActfRoleName(long role)
          map the given MSAA role constant to a ACTF role constant
static Set getState(int state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSAA_STATE_NORMAL

public static final int MSAA_STATE_NORMAL
See Also:
Constant Field Values

MSAA_STATE_UNAVAILABLE

public static final int MSAA_STATE_UNAVAILABLE
See Also:
Constant Field Values

MSAA_STATE_SELECTED

public static final int MSAA_STATE_SELECTED
See Also:
Constant Field Values

MSAA_STATE_SELECTABLE

public static final int MSAA_STATE_SELECTABLE
See Also:
Constant Field Values

MSAA_STATE_MULTI_SELECTABLE

public static final int MSAA_STATE_MULTI_SELECTABLE
See Also:
Constant Field Values

MSAA_STATE_FOCUSED

public static final int MSAA_STATE_FOCUSED
See Also:
Constant Field Values

MSAA_STATE_FOCUSABLE

public static final int MSAA_STATE_FOCUSABLE
See Also:
Constant Field Values

MSAA_STATE_PRESSED

public static final int MSAA_STATE_PRESSED
See Also:
Constant Field Values

MSAA_STATE_CHECKED

public static final int MSAA_STATE_CHECKED
See Also:
Constant Field Values

MSAA_STATE_EXPANDED

public static final int MSAA_STATE_EXPANDED
See Also:
Constant Field Values

MSAA_STATE_COLLAPSED

public static final int MSAA_STATE_COLLAPSED
See Also:
Constant Field Values

MSAA_STATE_HOTTRACKED

public static final int MSAA_STATE_HOTTRACKED
See Also:
Constant Field Values

MSAA_STATE_BUSY

public static final int MSAA_STATE_BUSY
See Also:
Constant Field Values

MSAA_STATE_READ_ONLY

public static final int MSAA_STATE_READ_ONLY
See Also:
Constant Field Values

MSAA_STATE_INVISIBLE

public static final int MSAA_STATE_INVISIBLE
See Also:
Constant Field Values

MSAA_STATE_OFF_SCREEN

public static final int MSAA_STATE_OFF_SCREEN
See Also:
Constant Field Values

MSAA_STATE_SIZEABLE

public static final int MSAA_STATE_SIZEABLE
See Also:
Constant Field Values

MSAA_STATE_LINKED

public static final int MSAA_STATE_LINKED
See Also:
Constant Field Values

MSAA_STATE_MOVEABLE

public static final int MSAA_STATE_MOVEABLE
See Also:
Constant Field Values

MSAA_STATE_HASPOPUP

public static final int MSAA_STATE_HASPOPUP
See Also:
Constant Field Values

MSAA_STATE_EXTSELECTABLE

public static final int MSAA_STATE_EXTSELECTABLE
See Also:
Constant Field Values

MSAA_STATE_ALERT_LOW

public static final int MSAA_STATE_ALERT_LOW
See Also:
Constant Field Values

MSAA_STATE_ALERT_MEDIUM

public static final int MSAA_STATE_ALERT_MEDIUM
See Also:
Constant Field Values

MSAA_STATE_ALERT_HIGH

public static final int MSAA_STATE_ALERT_HIGH
See Also:
Constant Field Values

MSAA_ROLE_TITLEBAR

public static final int MSAA_ROLE_TITLEBAR
See Also:
Constant Field Values

MSAA_ROLE_GRIP

public static final int MSAA_ROLE_GRIP
See Also:
Constant Field Values

MSAA_ROLE_STATUS_BAR

public static final int MSAA_ROLE_STATUS_BAR
See Also:
Constant Field Values

MSAA_ROLE_INDICATOR

public static final int MSAA_ROLE_INDICATOR
See Also:
Constant Field Values

MSAA_ROLE_PANE

public static final int MSAA_ROLE_PANE
See Also:
Constant Field Values

MSAA_ROLE_GRAPHIC

public static final int MSAA_ROLE_GRAPHIC
See Also:
Constant Field Values

MSAA_ROLE_SPLIT_BUTTON

public static final int MSAA_ROLE_SPLIT_BUTTON
See Also:
Constant Field Values

MSAA_ROLE_SOUND

public static final int MSAA_ROLE_SOUND
See Also:
Constant Field Values

MSAA_ROLE_CURSOR

public static final int MSAA_ROLE_CURSOR
See Also:
Constant Field Values

MSAA_ROLE_CARET

public static final int MSAA_ROLE_CARET
See Also:
Constant Field Values

MSAA_ROLE_ALERT

public static final int MSAA_ROLE_ALERT
See Also:
Constant Field Values

MSAA_ROLE_APPLICATION

public static final int MSAA_ROLE_APPLICATION
See Also:
Constant Field Values

MSAA_ROLE_DOCUMENT

public static final int MSAA_ROLE_DOCUMENT
See Also:
Constant Field Values

MSAA_ROLE_CHART

public static final int MSAA_ROLE_CHART
See Also:
Constant Field Values

MSAA_ROLE_BORDER

public static final int MSAA_ROLE_BORDER
See Also:
Constant Field Values

MSAA_ROLE_GROUPING

public static final int MSAA_ROLE_GROUPING
See Also:
Constant Field Values

MSAA_ROLE_COLUMN

public static final int MSAA_ROLE_COLUMN
See Also:
Constant Field Values

MSAA_ROLE_ROW

public static final int MSAA_ROLE_ROW
See Also:
Constant Field Values

MSAA_ROLE_HELP_BALLOON

public static final int MSAA_ROLE_HELP_BALLOON
See Also:
Constant Field Values

MSAA_ROLE_CHARACTER

public static final int MSAA_ROLE_CHARACTER
See Also:
Constant Field Values

MSAA_ROLE_PROPERTY_PAGE

public static final int MSAA_ROLE_PROPERTY_PAGE
See Also:
Constant Field Values

MSAA_ROLE_DROP_LIST

public static final int MSAA_ROLE_DROP_LIST
See Also:
Constant Field Values

MSAA_ROLE_DIAL

public static final int MSAA_ROLE_DIAL
See Also:
Constant Field Values

MSAA_ROLE_HOTKEY_FIELD

public static final int MSAA_ROLE_HOTKEY_FIELD
See Also:
Constant Field Values

MSAA_ROLE_SPIN_BUTTON

public static final int MSAA_ROLE_SPIN_BUTTON
See Also:
Constant Field Values

MSAA_ROLE_DIAGRAM

public static final int MSAA_ROLE_DIAGRAM
See Also:
Constant Field Values

MSAA_ROLE_ANIMATION

public static final int MSAA_ROLE_ANIMATION
See Also:
Constant Field Values

MSAA_ROLE_EQUATION

public static final int MSAA_ROLE_EQUATION
See Also:
Constant Field Values

MSAA_ROLE_BUTTON_DROPDOWN

public static final int MSAA_ROLE_BUTTON_DROPDOWN
See Also:
Constant Field Values

MSAA_ROLE_BUTTON_MENU

public static final int MSAA_ROLE_BUTTON_MENU
See Also:
Constant Field Values

MSAA_ROLE_BUTTON_DROPDOWN_GRID

public static final int MSAA_ROLE_BUTTON_DROPDOWN_GRID
See Also:
Constant Field Values

MSAA_ROLE_WHITE_SPACE

public static final int MSAA_ROLE_WHITE_SPACE
See Also:
Constant Field Values

MSAA_ROLE_CLOCK

public static final int MSAA_ROLE_CLOCK
See Also:
Constant Field Values

MSAA_ROLE_IP_ADDRESS

public static final int MSAA_ROLE_IP_ADDRESS
See Also:
Constant Field Values

MSAA_ROLE_OUTLINE_BUTTON

public static final int MSAA_ROLE_OUTLINE_BUTTON
See Also:
Constant Field Values

MSAA_ROLE_CLIENT_AREA

public static final int MSAA_ROLE_CLIENT_AREA
See Also:
Constant Field Values

MSAA_ROLE_WINDOW

public static final int MSAA_ROLE_WINDOW
See Also:
Constant Field Values

MSAA_ROLE_MENU_BAR

public static final int MSAA_ROLE_MENU_BAR
See Also:
Constant Field Values

MSAA_ROLE_MENU_POPUP

public static final int MSAA_ROLE_MENU_POPUP
See Also:
Constant Field Values

MSAA_ROLE_MENU_ITEM

public static final int MSAA_ROLE_MENU_ITEM
See Also:
Constant Field Values

MSAA_ROLE_SEPARATOR

public static final int MSAA_ROLE_SEPARATOR
See Also:
Constant Field Values

MSAA_ROLE_TOOL_TIP

public static final int MSAA_ROLE_TOOL_TIP
See Also:
Constant Field Values

MSAA_ROLE_SCROLL_BAR

public static final int MSAA_ROLE_SCROLL_BAR
See Also:
Constant Field Values

MSAA_ROLE_DIALOG

public static final int MSAA_ROLE_DIALOG
See Also:
Constant Field Values

MSAA_ROLE_STATICTEXT

public static final int MSAA_ROLE_STATICTEXT
See Also:
Constant Field Values

MSAA_ROLE_PUSH_BUTTON

public static final int MSAA_ROLE_PUSH_BUTTON
See Also:
Constant Field Values

MSAA_ROLE_CHECK_BUTTON

public static final int MSAA_ROLE_CHECK_BUTTON
See Also:
Constant Field Values

MSAA_ROLE_RADIO_BUTTON

public static final int MSAA_ROLE_RADIO_BUTTON
See Also:
Constant Field Values

MSAA_ROLE_COMBO_BOX

public static final int MSAA_ROLE_COMBO_BOX
See Also:
Constant Field Values

MSAA_ROLE_TEXT

public static final int MSAA_ROLE_TEXT
See Also:
Constant Field Values

MSAA_ROLE_TOOL_BAR

public static final int MSAA_ROLE_TOOL_BAR
See Also:
Constant Field Values

MSAA_ROLE_LIST

public static final int MSAA_ROLE_LIST
See Also:
Constant Field Values

MSAA_ROLE_LIST_ITEM

public static final int MSAA_ROLE_LIST_ITEM
See Also:
Constant Field Values

MSAA_ROLE_TABLE

public static final int MSAA_ROLE_TABLE
See Also:
Constant Field Values

MSAA_ROLE_TABLE_CELL

public static final int MSAA_ROLE_TABLE_CELL
See Also:
Constant Field Values

MSAA_ROLE_TABLE_COLUMN_HEADER

public static final int MSAA_ROLE_TABLE_COLUMN_HEADER
See Also:
Constant Field Values

MSAA_ROLE_TABLE_ROW_HEADER

public static final int MSAA_ROLE_TABLE_ROW_HEADER
See Also:
Constant Field Values

MSAA_ROLE_OUTLINE

public static final int MSAA_ROLE_OUTLINE
See Also:
Constant Field Values

MSAA_ROLE_OUTLINE_ITEM

public static final int MSAA_ROLE_OUTLINE_ITEM
See Also:
Constant Field Values

MSAA_ROLE_PAGETABLIST

public static final int MSAA_ROLE_PAGETABLIST
See Also:
Constant Field Values

MSAA_ROLE_PAGETAB

public static final int MSAA_ROLE_PAGETAB
See Also:
Constant Field Values

MSAA_ROLE_PROGRESS_BAR

public static final int MSAA_ROLE_PROGRESS_BAR
See Also:
Constant Field Values

MSAA_ROLE_SLIDER

public static final int MSAA_ROLE_SLIDER
See Also:
Constant Field Values

MSAA_ROLE_LINK

public static final int MSAA_ROLE_LINK
See Also:
Constant Field Values

ACTF_MSAA_BUNDLE

public static final String ACTF_MSAA_BUNDLE
See Also:
Constant Field Values
Constructor Detail

Msaa

public Msaa()
Method Detail

getMsaaActfRoleName

public static String getMsaaActfRoleName(long role)
map the given MSAA role constant to a ACTF role constant

Parameters:
role - - MSAA role constant
Returns:
ACTF role constant
See Also:
AccessibleConstants

getState

public static Set getState(int state)