com.trolltech.qt.gui
Class QAccessibleBridge

java.lang.Object
  extended by com.trolltech.qt.QSignalEmitter
      extended by com.trolltech.qt.QtJambiObject
          extended by com.trolltech.qt.gui.QAccessibleBridge
All Implemented Interfaces:
QtJambiInterface

public abstract class QAccessibleBridge
extends QtJambiObject

The QAccessibleBridge class is the base class for accessibility back-ends.

Qt supports Microsoft Active Accessibility (MSAA), Mac OS X Accessibility, and the Unix/X11 AT-SPI standard. By subclassing QAccessibleBridge, you can support other backends than the predefined ones.

Currently, custom bridges are only supported on Unix. We might add support for them on other platforms as well if there is enough demand.

See Also:
QAccessible, QAccessibleBridgePlugin

Nested Class Summary
 
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
QSignalEmitter.Signal0, QSignalEmitter.Signal1<A>, QSignalEmitter.Signal2<A,B>, QSignalEmitter.Signal3<A,B,C>, QSignalEmitter.Signal4<A,B,C,D>, QSignalEmitter.Signal5<A,B,C,D,E>, QSignalEmitter.Signal6<A,B,C,D,E,F>, QSignalEmitter.Signal7<A,B,C,D,E,F,G>, QSignalEmitter.Signal8<A,B,C,D,E,F,G,H>, QSignalEmitter.Signal9<A,B,C,D,E,F,G,H,I>
 
Method Summary
static QAccessibleBridge fromNativePointer(QNativePointer nativePointer)
          This function returns the QAccessibleBridge instance pointed to by nativePointer
abstract  void notifyAccessibilityUpdate(int arg__1, QAccessibleInterface arg__2, int arg__3)
          This function is called by Qt to notify the bridge about a change in the accessibility information for object wrapped by the given arg__2.
abstract  void setRootObject(QAccessibleInterface arg__1)
          This function is called by Qt at application startup to set the root accessible object of the application to arg__1.
 
Methods inherited from class com.trolltech.qt.QtJambiObject
dispose, disposed, finalize, reassignNativeResources, tr, tr, tr
 
Methods inherited from class com.trolltech.qt.QSignalEmitter
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.trolltech.qt.QtJambiInterface
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership
 

Method Detail

notifyAccessibilityUpdate

public abstract void notifyAccessibilityUpdate(int arg__1,
                                               QAccessibleInterface arg__2,
                                               int arg__3)

This function is called by Qt to notify the bridge about a change in the accessibility information for object wrapped by the given arg__2.

arg__1 specifies the cause of the change. It can take values of type QAccessible::Event.

arg__3 is the (1-based) index of the child element that has changed. When arg__3 is 0, the object itself has changed.

See Also:
QAccessible::updateAccessibility

setRootObject

public abstract void setRootObject(QAccessibleInterface arg__1)

This function is called by Qt at application startup to set the root accessible object of the application to arg__1. All other accessible objects in the application can be reached by the client using object navigation.


fromNativePointer

public static QAccessibleBridge fromNativePointer(QNativePointer nativePointer)
This function returns the QAccessibleBridge instance pointed to by nativePointer

Parameters:
nativePointer - the QNativePointer of which object should be returned.