|
|||||||||
| 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.QAccessibleInterfaceEx
com.trolltech.qt.gui.QAccessibleObjectEx
com.trolltech.qt.gui.QAccessibleWidgetEx
public class QAccessibleWidgetEx
| 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 | |
|---|---|
QAccessibleWidgetEx(QWidget o)
Equivalent to QAccessibleWidgetEx(o, Client, QString()). |
|
QAccessibleWidgetEx(QWidget o,
QAccessible.Role r)
Equivalent to QAccessibleWidgetEx(o, r, QString()). |
|
QAccessibleWidgetEx(QWidget o,
QAccessible.Role r,
java.lang.String name)
This is a JambiDoclet generated javadoc comment for com.trolltech.qt.gui.QAccessibleWidgetEx. |
|
| 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. |
protected void |
addControllingSignal(java.lang.String signal)
This is a JambiDoclet generated javadoc comment for com.trolltech.qt.gui.QAccessibleWidgetEx.addControllingSignal. |
int |
childAt(int x,
int y)
Returns the 1-based index of the child that contains the screen coordinates (x, y). |
int |
childCount()
Returns the number of children that belong to this object. |
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. |
static QAccessibleWidgetEx |
fromNativePointer(QNativePointer nativePointer)
This function returns the QAccessibleWidgetEx instance pointed to by nativePointer |
int |
indexOfChild(QAccessibleInterface child)
Returns the 1-based index of the object arg__1 in this object's children list, or -1 if arg__1 is not a child of this object. |
java.lang.Object |
invokeMethodEx(QAccessible.Method method,
int child,
java.util.List<java.lang.Object> params)
This method is internal to Qt Jambi. |
QAccessibleInterface.Target |
navigate(QAccessible.RelationFlag rel,
int entry)
Equivalent to navigate(rel, entry, ). |
protected QObject |
parentObject()
This is a JambiDoclet generated javadoc comment for com.trolltech.qt.gui.QAccessibleWidgetEx.parentObject. |
QRect |
rect(int child)
Returns the geometry of the object, or of the object's child if child is not 0. The geometry is in screen coordinates. This function is only reliable for visible objects (invisible objects might not be laid out correctly). All visual objects provide this information. |
QAccessible.Relation |
relationTo(int child,
QAccessibleInterface other,
int otherChild)
Returns the relationship between this object's child and the other object's otherChild. |
QAccessible.Role |
role(int child)
Returns the role of the object, or of the object's child if child is not 0. |
protected void |
setAccelerator(java.lang.String accel)
This is a JambiDoclet generated javadoc comment for com.trolltech.qt.gui.QAccessibleWidgetEx.setAccelerator. |
protected void |
setDescription(java.lang.String desc)
This is a JambiDoclet generated javadoc comment for com.trolltech.qt.gui.QAccessibleWidgetEx.setDescription. |
protected void |
setHelp(java.lang.String help)
This is a JambiDoclet generated javadoc comment for com.trolltech.qt.gui.QAccessibleWidgetEx.setHelp. |
protected void |
setValue(java.lang.String value)
This is a JambiDoclet generated javadoc comment for com.trolltech.qt.gui.QAccessibleWidgetEx.setValue. |
QAccessible.State |
state(int child)
Returns the current state of the object, or of the object's child if child is not 0. |
java.lang.String |
text(QAccessible.Text t,
int child)
Returns the value of the text property t of the object, or of the object's child if child is not 0. |
protected QWidget |
widget()
This is a JambiDoclet generated javadoc comment for com.trolltech.qt.gui.QAccessibleWidgetEx.widget. |
| Methods inherited from class com.trolltech.qt.gui.QAccessibleObjectEx |
|---|
isValid, object, setText, userActionCount |
| Methods inherited from class com.trolltech.qt.gui.QAccessibleInterfaceEx |
|---|
virtual_hook |
| Methods inherited from class com.trolltech.qt.gui.QAccessibleInterface |
|---|
invokeMethod, supportedMethods |
| 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 QAccessibleWidgetEx(QWidget o,
QAccessible.Role r)
Equivalent to QAccessibleWidgetEx(o, r, QString()).
public QAccessibleWidgetEx(QWidget o)
Equivalent to QAccessibleWidgetEx(o, Client, QString()).
public QAccessibleWidgetEx(QWidget o,
QAccessible.Role r,
java.lang.String name)
| Method Detail |
|---|
protected final void addControllingSignal(java.lang.String signal)
protected final QObject parentObject()
protected final void setAccelerator(java.lang.String accel)
protected final void setDescription(java.lang.String desc)
protected final void setHelp(java.lang.String help)
protected final void setValue(java.lang.String value)
protected final QWidget widget()
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 QAccessibleObjectEx
public int childAt(int x,
int y)
Returns the 1-based index of the child that contains the screen coordinates (x, y). This function returns 0 if the point is positioned on the object itself. If the tested point is outside the boundaries of the object this function returns -1.
This function is only relyable for visible objects (invisible object might not be laid out correctly).
All visual objects provide this information.
childAt in class QAccessibleInterfacepublic int childCount()
Returns the number of children that belong to this object. A child can provide accessibility information on its own (e.g. a child widget), or be a sub-element of this accessible object.
All objects provide this information.
childCount 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 QAccessibleObjectExpublic int indexOfChild(QAccessibleInterface child)
Returns the 1-based index of the object arg__1 in this object's children list, or -1 if arg__1 is not a child of this object. 0 is not a possible return value.
All objects provide this information about their children.
indexOfChild in class QAccessibleInterface
public java.lang.Object invokeMethodEx(QAccessible.Method method,
int child,
java.util.List<java.lang.Object> params)
invokeMethodEx in class QAccessibleInterfaceEx
public QAccessibleInterface.Target navigate(QAccessible.RelationFlag rel,
int entry)
Equivalent to navigate(rel, entry, ).
navigate in class QAccessibleInterfacepublic QRect rect(int child)
Returns the geometry of the object, or of the object's child if child is not 0. The geometry is in screen coordinates.
This function is only reliable for visible objects (invisible objects might not be laid out correctly).
All visual objects provide this information.
rect in class QAccessibleObjectEx
public QAccessible.Relation relationTo(int child,
QAccessibleInterface other,
int otherChild)
Returns the relationship between this object's child and the other object's otherChild. If child is 0 the object's own relation is returned.
The returned value indicates the relation of the called object to the other object, e.g. if this object is a child of other the return value will be Child.
The return value is a combination of the bit flags in the QAccessible::Relation enumeration.
All objects provide this information.
relationTo in class QAccessibleInterfacepublic QAccessible.Role role(int child)
Returns the role of the object, or of the object's child if child is not 0. The role of an object is usually static.
All accessible objects have a role.
role in class QAccessibleInterfacepublic QAccessible.State state(int child)
Returns the current state of the object, or of the object's child if child is not 0. The returned value is a combination of the flags in the QAccessible::StateFlag enumeration.
All accessible objects have a state.
state in class QAccessibleInterface
public java.lang.String text(QAccessible.Text t,
int child)
Returns the value of the text property t of the object, or of the object's child if child is not 0.
The Name is a string used by clients to identify, find or announce an accessible object for the user. All objects must have a name that is unique within their container.
An accessible object's Description provides textual information about an object's visual appearance. The description is primarily used to provide greater context for vision-impaired users, but is also used for context searching or other applications. Not all objects have a description. An "OK" button would not need a description, but a tool button that shows a picture of a smiley would.
The Value of an accessible object represents visual information contained by the object, e.g. the text in a line edit. Usually, the value can be modified by the user. Not all objects have a value, e.g. static text labels don't, and some objects have a state that already is the value, e.g. toggle buttons.
The Help text provides information about the function and usage of an accessible object. Not all objects provide this information.
The Accelerator is a keyboard shortcut that activates the object's default action. A keyboard shortcut is the underlined character in the text of a menu, menu item or widget, and is either the character itself, or a combination of this character and a modifier key like Alt, Ctrl or Shift. Command controls like tool buttons also have shortcut keys and usually display them in their tooltip.
All objects provide a string for Name.
text in class QAccessibleInterfacepublic static QAccessibleWidgetEx 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 | ||||||||