org.eclipse.actf.accservice.core.win32.ia2
Class IA2AccessibilityEventService
java.lang.Object
org.eclipse.actf.accservice.core.win32.msaa.MsaaAccessibilityEventService
org.eclipse.actf.accservice.core.win32.ia2.IA2AccessibilityEventService
- All Implemented Interfaces:
- IAccessibilityEventService
public class IA2AccessibilityEventService
- extends MsaaAccessibilityEventService
Fields inherited from class org.eclipse.actf.accservice.core.win32.msaa.MsaaAccessibilityEventService |
_flag, _hookMap, _listenerMap, _windowService, dwMemFileSize, EVENT_OBJECT_ACCELERATORCHANGE, EVENT_OBJECT_CREATE, EVENT_OBJECT_DEFACTIONCHANGE, EVENT_OBJECT_DESCRIPTIONCHANGE, EVENT_OBJECT_DESTROY, EVENT_OBJECT_FOCUS, EVENT_OBJECT_HELPCHANGE, EVENT_OBJECT_HIDE, EVENT_OBJECT_LOCATIONCHANGE, EVENT_OBJECT_NAMECHANGE, EVENT_OBJECT_PARENTCHANGE, EVENT_OBJECT_REORDER, EVENT_OBJECT_SELECTION, EVENT_OBJECT_SELECTIONADD, EVENT_OBJECT_SELECTIONREMOVE, EVENT_OBJECT_SELECTIONWITHIN, EVENT_OBJECT_SHOW, EVENT_OBJECT_STATECHANGE, EVENT_OBJECT_VALUECHANGE, EVENT_SYSTEM_MENUEND, EVENT_SYSTEM_MENUPOPUPEND, EVENT_SYSTEM_MENUPOPUPSTART, EVENT_SYSTEM_MENUSTART, FILE_MAP_COPY, FILE_MAP_READ, FILE_MAP_WRITE, fileMappingObjName, initClockTicks, isMapFileOpen, mapFilePtr, PAGE_READONLY, PAGE_READWRITE, PAGE_WRITECOPY, timeDiff, WINEVENT_INCONTEXT, WINEVENT_OUTOFCONTEXT, WINEVENT_SKIPOWNPROCESS, WINEVENT_SKIPOWNTHREAD |
Method Summary |
protected static int |
createAccessibleObjectFromEvent(int hwnd,
int idObject,
int idChild)
|
static String |
eventName(int event)
|
protected static void |
winEventCallback(int eventId,
int hwnd,
int idObject,
int idChild,
long time)
callback from the native Windows system for out-of-process IA2 events. |
protected void |
winEventIPCallback()
callback from the native Windows system for in-process IA2 events. |
Methods inherited from class org.eclipse.actf.accservice.core.win32.msaa.MsaaAccessibilityEventService |
addAccessibilityEventListener, closeHandle, createFileMapping, fireAccessibilityModelEvent, getClockTicks, getWinEventFlag, initThread, internalGetClockTicks, internalRemoveWinEventHook, internalSetWinEventHook, mapViewOfFile, openFileMapping, readFromMem, removeAccessibilityEventListener, removeWinEventHook, setTimeDiff, setWinEventFlag, setWinEventHook, unmapViewOfFile, writeToMem |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IA2_EVENT_ACTION_CHANGED
public static final int IA2_EVENT_ACTION_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_ACTIVE_DECENDENT_CHANGED
public static final int IA2_EVENT_ACTIVE_DECENDENT_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_DOCUMENT_ATTRIBUTE_CHANGED
public static final int IA2_EVENT_DOCUMENT_ATTRIBUTE_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_DOCUMENT_CONTENT_CHANGED
public static final int IA2_EVENT_DOCUMENT_CONTENT_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_DOCUMENT_LOAD_COMPLETE
public static final int IA2_EVENT_DOCUMENT_LOAD_COMPLETE
- See Also:
- Constant Field Values
IA2_EVENT_DOCUMENT_LOAD_STOPPED
public static final int IA2_EVENT_DOCUMENT_LOAD_STOPPED
- See Also:
- Constant Field Values
IA2_EVENT_DOCUMENT_RELOAD
public static final int IA2_EVENT_DOCUMENT_RELOAD
- See Also:
- Constant Field Values
IA2_EVENT_HYPERLINK_END_INDEX_CHANGED
public static final int IA2_EVENT_HYPERLINK_END_INDEX_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_HYPERLINK_NUMBER_OF_ANCHORS_CHANGED
public static final int IA2_EVENT_HYPERLINK_NUMBER_OF_ANCHORS_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_HYPERLINK_SELECTED_LINK_CHANGED
public static final int IA2_EVENT_HYPERLINK_SELECTED_LINK_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_HYPERTEXT_LINK_ACTIVATED
public static final int IA2_EVENT_HYPERTEXT_LINK_ACTIVATED
- See Also:
- Constant Field Values
IA2_EVENT_HYPERTEXT_LINK_SELECTED
public static final int IA2_EVENT_HYPERTEXT_LINK_SELECTED
- See Also:
- Constant Field Values
IA2_EVENT_HYPERLINK_START_INDEX_CHANGED
public static final int IA2_EVENT_HYPERLINK_START_INDEX_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_HYPERTEXT_CHANGED
public static final int IA2_EVENT_HYPERTEXT_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_HYPERTEXT_NLINKS_CHANGED
public static final int IA2_EVENT_HYPERTEXT_NLINKS_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED
public static final int IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_PAGE_CHANGED
public static final int IA2_EVENT_PAGE_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_ROLE_CHANGED
public static final int IA2_EVENT_ROLE_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_TABLE_CAPTION_CHANGED
public static final int IA2_EVENT_TABLE_CAPTION_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED
public static final int IA2_EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_TABLE_COLUMN_HEADER_CHANGED
public static final int IA2_EVENT_TABLE_COLUMN_HEADER_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_TABLE_MODEL_CHANGED
public static final int IA2_EVENT_TABLE_MODEL_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_TABLE_ROW_DESCRIPTION_CHANGED
public static final int IA2_EVENT_TABLE_ROW_DESCRIPTION_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_TABLE_ROW_HEADER_CHANGED
public static final int IA2_EVENT_TABLE_ROW_HEADER_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_TABLE_SUMMARY_CHANGED
public static final int IA2_EVENT_TABLE_SUMMARY_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_TEXT_ATTRIBUTE_CHANGED
public static final int IA2_EVENT_TEXT_ATTRIBUTE_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_TEXT_CARET_MOVED
public static final int IA2_EVENT_TEXT_CARET_MOVED
- See Also:
- Constant Field Values
IA2_EVENT_TEXT_CHANGED
public static final int IA2_EVENT_TEXT_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_TEXT_COLUMN_CHANGED
public static final int IA2_EVENT_TEXT_COLUMN_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_TEXT_INSERTED
public static final int IA2_EVENT_TEXT_INSERTED
- See Also:
- Constant Field Values
IA2_EVENT_TEXT_REMOVED
public static final int IA2_EVENT_TEXT_REMOVED
- See Also:
- Constant Field Values
IA2_EVENT_TEXT_UPDATED
public static final int IA2_EVENT_TEXT_UPDATED
- See Also:
- Constant Field Values
IA2_EVENT_TEXT_SELECTION_CHANGED
public static final int IA2_EVENT_TEXT_SELECTION_CHANGED
- See Also:
- Constant Field Values
IA2_EVENT_VISIBLE_DATA_CHANGED
public static final int IA2_EVENT_VISIBLE_DATA_CHANGED
- See Also:
- Constant Field Values
IA2AccessibilityEventService
public IA2AccessibilityEventService(IWindowService windowService)
winEventCallback
protected static void winEventCallback(int eventId,
int hwnd,
int idObject,
int idChild,
long time)
- callback from the native Windows system for out-of-process IA2 events. The parameters are:
- event information (hwnd, child Id, Object ID, event ID)to form a new
IA2Accessible
.
In this case, the source of the resulting event will be this IA2Accessible
object.
The appropriate listeners for the given event id are notified and the AccesibilityModelEvent
is
created from the formed IA2Accessible
- Parameters:
eventId
- hwnd
- idObject
- idChild
- time
-
createAccessibleObjectFromEvent
protected static int createAccessibleObjectFromEvent(int hwnd,
int idObject,
int idChild)
eventName
public static String eventName(int event)
winEventIPCallback
protected void winEventIPCallback()
- callback from the native Windows system for in-process IA2 events.
The event information is read from a memory map file as a string array.
The appropriate listeners for the given event id are notified and the AccesibilityModelEvent
is
created. Here, the source of the AccesibilityModelEvent is a string array containing information about the
accessible that fired the event
- Overrides:
winEventIPCallback
in class MsaaAccessibilityEventService