| Trees | Indices | Help |
|---|
|
|
object --+
|
AccAdapt.Adapter --+
|
DefaultEventHandlerAdapter
Adapts all events from AT-SPI accessibles to the interfaces defined in provides. No condition for adaption is given implying that this adapter is used as a default by AccAdapt when no better adapter is available.
This class is meant to be subclassed by more specific event handlers. Only the protected handler methods (those starting with _handle) need to be overridden as the public method getAEEvents will call the most child implementation of the appropriate event handling method.
|
|||
| list of string |
|
||
|
|||
|
|||
| tuple of AEEvent |
|
||
| boolean |
|
||
| tuple of AEEvent |
|
||
| tuple of AEEvent |
|
||
| tuple of AEEvent |
|
||
| tuple of AEEvent |
|
||
| tuple of AEEvent |
|
||
| tuple of AEEvent |
|
||
| tuple of AEEvent |
|
||
| tuple of AEEvent |
|
||
|
Inherited from Inherited from |
|||
|
|||
| list of Interface |
provides = [IEventHandler]Interfaces provided by this adapter |
||
| boolean |
singleton = TrueIf True, only one instance of this adapter will be registered for use such that it is reused for all subjects. |
||
| pyLinAcc.Accessible |
last_focus = NoneLast accessible to receive focus |
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Gets a list of raw AT-SPI event names that map to the given kind of AEEvent. |
Determines if the active view has changed and what events need to be fired in response. The possible cases include a normal view change (app1 window to app2 window), a floating widget change (app1 window to app1 floater), or a overlay change (app1 window to app2 floater). Resets the last focus when the third case occurs so that the first application can announce its restored focus when the floater goes away. For instance, if the metacity task switcher appears and the user immediately closes it, he lands right back in the window where he started. In this case, the new focus is the last focus, but we still want to announce it.
|
Determines what AEEvents should be posted to EventManager for later execution by a Tier based on the provided raw pyLinAcc.Event.Event. Makes an initial decision about whether the event occurred in a focused control or an unfocused control.
|
Creates an AEEvent.FocusChange indicating that the accessible being adapted has lost the focus.
|
Determines if a focus event is a repeat on an already focused object or not.
|
Creates an AEEvent.FocusChange indicating that the accessible being adapted has gained the focus. Also creates a AEEvent.SelectorChange. These two AEEvents will be posted by the caller.
|
Creates an AEEvent.PropertyChange indicating that some simple property of an accessible changed. These two AEEvents will be posted by the caller. The POR for the event soruce returned by this method will be marked as incomplete as the accessible may actually be an item. It will be resolved at a later time by the AEEvent if the event will actually be processed.
|
Creates an AEEvent.StateChange indicating that some simple property of an accessible changed. These two AEEvents will be posted by the caller. The POR for the event soruce returned by this method will be marked as incomplete as the accessible may actually be an item. It will be resolved at a later time by the AEEvent if the event will actually be processed.
|
Creates an AEEvent.ChildrenChange indicating that a child has been added/ removed to an accessible. This AEEvent will be posted by the caller. The POR for the event soruce returned by this method will be marked as incomplete as the accessible may actually be an item. It will be resolved at a later time by the AEEvent if the event will actually be processed.
|
Creates an AEEvent.TableChange indicating a insert/delete/reorder of a row/column in a table-based accessible. This AEEvent will be posted by the caller.
|
Creates an AEEvent.ScreenChange event in response to a visible data or bounds change on an object or text.
|
Creates an AEEvent.ScreenChange event in response to a visible data or bounds change on an object or text.
|
Creates an AEEvent.PrivateChange event in response to a key press on the keyboard. This event is kept private because Perks and Tasks should not be relying on key codes and key syms to trigger actions, but rather using abstracted AEEvent.InputGesture events and Task.InputTasks.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:19 2007 | http://epydoc.sourceforge.net |