|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.gui.QAccessible
com.trolltech.qt.gui.QAccessibleInterface
com.trolltech.qt.gui.QAccessibleObject
public abstract class QAccessibleObject
The QAccessibleObject class implements parts of the QAccessibleInterface for QObjects.
This class is mainly provided for convenience. All subclasses of the QAccessibleInterface that provide implementations of non-widget objects should use this class as their base class.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.trolltech.qt.gui.QAccessibleInterface |
---|
QAccessibleInterface.Target |
Nested classes/interfaces inherited from class com.trolltech.qt.gui.QAccessible |
---|
QAccessible.Action, QAccessible.Event, QAccessible.Method, QAccessible.Relation, QAccessible.RelationFlag, QAccessible.Role, QAccessible.State, QAccessible.StateFlag, QAccessible.Text |
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> |
Constructor Summary | |
---|---|
QAccessibleObject(QObject object)
Creates a QAccessibleObject for object. |
Method Summary | |
---|---|
java.lang.String |
actionText(int action,
QAccessible.Text t,
int child)
Returns the text property t of the action action supported by the object, or of the object's child if child is not 0. |
boolean |
doAction(int action,
int child,
java.util.List<java.lang.Object> params)
Asks the object, or the object's child if child is not 0, to execute action using the parameters, params. |
static QAccessibleObject |
fromNativePointer(QNativePointer nativePointer)
This function returns the QAccessibleObject instance pointed to by nativePointer |
boolean |
isValid()
This function is reimplemented for internal reasons. |
QObject |
object()
This function is reimplemented for internal reasons. |
QRect |
rect(int child)
This function is reimplemented for internal reasons. |
void |
setText(QAccessible.Text t,
int child,
java.lang.String text)
Sets the text property t of the object, or of the object's child if child is not 0, to text. |
int |
userActionCount(int child)
This function is reimplemented for internal reasons. |
Methods inherited from class com.trolltech.qt.gui.QAccessibleInterface |
---|
childAt, childCount, indexOfChild, invokeMethod, navigate, relationTo, role, state, supportedMethods, text |
Methods inherited from class com.trolltech.qt.gui.QAccessible |
---|
isActive, queryAccessibleInterface, setRootObject, updateAccessibility |
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 |
Constructor Detail |
---|
public QAccessibleObject(QObject object)
Creates a QAccessibleObject for object.
Method Detail |
---|
public java.lang.String actionText(int action, QAccessible.Text t, int child)
Returns the text property t of the action action supported by the object, or of the object's child if child is not 0.
actionText
in class QAccessibleInterface
public boolean doAction(int action, int child, java.util.List<java.lang.Object> params)
Asks the object, or the object's child if child is not 0, to execute action using the parameters, params. Returns true if the action could be executed; otherwise returns false.
action can be a predefined or a custom action.
doAction
in class QAccessibleInterface
public boolean isValid()
This function is reimplemented for internal reasons.
isValid
in class QAccessibleInterface
public QObject object()
This function is reimplemented for internal reasons.
object
in class QAccessibleInterface
public QRect rect(int child)
This function is reimplemented for internal reasons.
rect
in class QAccessibleInterface
public void setText(QAccessible.Text t, int child, java.lang.String text)
Sets the text property t of the object, or of the object's child if child is not 0, to text.
Note that the text properties of most objects are read-only.
setText
in class QAccessibleInterface
public int userActionCount(int child)
This function is reimplemented for internal reasons.
userActionCount
in class QAccessibleInterface
public static QAccessibleObject fromNativePointer(QNativePointer nativePointer)
nativePointer
- the QNativePointer of which object should be returned.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |