Module JABHandler
[hide private]

Module JABHandler

source code

Classes [hide private]
  JOBJECT64
  AccessibleTable
  AccessBridgeVersionInfo
  AccessibleContextInfo
  AccessibleTextInfo
  AccessibleTextItemsInfo
  AccessibleTextSelectionInfo
  AccessibleTextRectInfo
  AccessibleTextAttributesInfo
  AccessibleRelationInfo
  AccessibleRelationSetInfo
  AccessibleActionInfo
  AccessibleActions
  AccessibleActionsToDo
  AccessibleTableInfo
  AccessibleTableCellInfo
  AccessibleKeyBindingInfo
  AccessibleKeyBindings
  JABContext
Functions [hide private]
 
_errcheck(res, func, args) source code
 
_fixBridgeFunc(restype, name, *argtypes, **kwargs) source code
 
internalQueueFunction(func, *args, **kwargs) source code
 
internal_getWindowHandleFromAccContext(vmID, accContext) source code
 
getWindowHandleFromAccContext(vmID, accContext) source code
 
internal_event_focusGained(vmID, event, source) source code
 
event_gainFocus(vmID, accContext, hwnd) source code
 
internal_event_activeDescendantChange(vmID, event, source, oldDescendant, newDescendant) source code
 
event_nameChange(vmID, event, source, oldVal, newVal) source code
 
event_descriptionChange(vmID, event, source, oldVal, newVal) source code
 
event_valueChange(vmID, event, source, oldVal, newVal) source code
 
internal_event_stateChange(vmID, event, source, oldState, newState) source code
 
event_stateChange(vmID, accContext, oldState, newState) source code
 
internal_event_caretChange(vmID, event, source, oldPos, newPos) source code
 
event_caret(vmID, accContext, hwnd) source code
 
event_enterJavaWindow(hwnd) source code
 
enterJavaWindow_helper(hwnd) source code
 
isJavaWindow(hwnd) source code
 
initialize() source code
 
pumpAll() source code
 
terminate() source code
Variables [hide private]
  legacyAccessBridge = False
  bridgeDll = None
hash(x)
  jchar = c_wchar
  jint = c_int
  jfloat = c_float
  jboolean = c_bool
  MAX_STRING_SIZE = 1024
  SHORT_STRING_SIZE = 256
  MAX_RELATION_TARGETS = 25
  MAX_RELATIONS = 5
  MAX_ACTION_INFO = 256
  MAX_ACTIONS_TO_DO = 32
  MAX_KEY_BINDINGS = 50
  ACCESSIBLE_SHIFT_KEYSTROKE = 1
  ACCESSIBLE_CONTROL_KEYSTROKE = 2
  ACCESSIBLE_META_KEYSTROKE = 4
  ACCESSIBLE_ALT_KEYSTROKE = 8
  ACCESSIBLE_ALT_GRAPH_KEYSTROKE = 16
  ACCESSIBLE_BUTTON1_KEYSTROKE = 32
  ACCESSIBLE_BUTTON2_KEYSTROKE = 64
  ACCESSIBLE_BUTTON3_KEYSTROKE = 128
  AccessBridge_FocusGainedFP = CFUNCTYPE(None, c_long, JOBJECT64...
  AccessBridge_PropertyNameChangeFP = CFUNCTYPE(None, c_long, JO...
  AccessBridge_PropertyDescriptionChangeFP = CFUNCTYPE(None, c_l...
  AccessBridge_PropertyValueChangeFP = CFUNCTYPE(None, c_long, J...
  AccessBridge_PropertyStateChangeFP = CFUNCTYPE(None, c_long, J...
  AccessBridge_PropertyCaretChangeFP = CFUNCTYPE(None, c_long, J...
  AccessBridge_PropertyActiveDescendentChangeFP = CFUNCTYPE(None...
  isRunning = False
  vmIDsToWindowHandles = {}
  internalFunctionQueue = queue.Queue(1000)
Function Details [hide private]

internal_event_focusGained(vmID, event, source)

source code 
Decorators:
  • @AccessBridge_FocusGainedFP

internal_event_activeDescendantChange(vmID, event, source, oldDescendant, newDescendant)

source code 
Decorators:
  • @AccessBridge_PropertyActiveDescendentChangeFP

event_nameChange(vmID, event, source, oldVal, newVal)

source code 
Decorators:
  • @AccessBridge_PropertyNameChangeFP

event_descriptionChange(vmID, event, source, oldVal, newVal)

source code 
Decorators:
  • @AccessBridge_PropertyDescriptionChangeFP

event_valueChange(vmID, event, source, oldVal, newVal)

source code 
Decorators:
  • @AccessBridge_PropertyValueChangeFP

internal_event_stateChange(vmID, event, source, oldState, newState)

source code 
Decorators:
  • @AccessBridge_PropertyStateChangeFP

internal_event_caretChange(vmID, event, source, oldPos, newPos)

source code 
Decorators:
  • @AccessBridge_PropertyCaretChangeFP

Variables Details [hide private]

AccessBridge_FocusGainedFP

Value:
CFUNCTYPE(None, c_long, JOBJECT64, JOBJECT64)

AccessBridge_PropertyNameChangeFP

Value:
CFUNCTYPE(None, c_long, JOBJECT64, JOBJECT64, c_wchar_p, c_wchar_p)

AccessBridge_PropertyDescriptionChangeFP

Value:
CFUNCTYPE(None, c_long, JOBJECT64, JOBJECT64, c_wchar_p, c_wchar_p)

AccessBridge_PropertyValueChangeFP

Value:
CFUNCTYPE(None, c_long, JOBJECT64, JOBJECT64, c_wchar_p, c_wchar_p)

AccessBridge_PropertyStateChangeFP

Value:
CFUNCTYPE(None, c_long, JOBJECT64, JOBJECT64, c_wchar_p, c_wchar_p)

AccessBridge_PropertyCaretChangeFP

Value:
CFUNCTYPE(None, c_long, JOBJECT64, JOBJECT64, c_int, c_int)

AccessBridge_PropertyActiveDescendentChangeFP

Value:
CFUNCTYPE(None, c_long, JOBJECT64, JOBJECT64, JOBJECT64, JOBJECT64)