|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QAccessible.RelationFlag>
com.trolltech.qt.gui.QAccessible.RelationFlag
public static enum QAccessible.RelationFlag
This enum type defines bit flags that can be combined to indicate the relationship between two accessible objects.
Implementations of relationTo() return a combination of these flags. Some values are mutually exclusive.
Implementations of navigate() can accept only one distinct value.
Enum Constant Summary | |
---|---|
Ancestor
The first object is a parent of the second object. |
|
Child
The first object is a direct child of the second object. |
|
Controlled
The first object is controlled by the second object. |
|
Controller
The first object controls the second object. |
|
Covered
The first object is covered by the second object. |
|
Covers
The first object covers the second object. |
|
Descendent
The first object is an indirect child of the second object. |
|
Down
The first object is below the second object. |
|
FocusChild
The first object is the second object's focus child. |
|
GeometryMask
Internal. |
|
HierarchyMask
Internal. |
|
Label
The first object is the label of the second object. |
|
Labelled
The first object is labelled by the second object. |
|
Left
The first object is left of the second object. |
|
LogicalMask
Internal. |
|
Right
The first object is right of the second object. |
|
Self
The objects are the same. |
|
Sibling
The objects are siblings. |
|
Unrelated
The objects are unrelated. |
|
Up
The first object is above the second object. |
Method Summary | |
---|---|
static QAccessible.Relation |
createQFlags(QAccessible.RelationFlag... values)
|
static QAccessible.RelationFlag |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QAccessible.RelationFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QAccessible.RelationFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QAccessible.RelationFlag Unrelated
The objects are unrelated.
public static final QAccessible.RelationFlag Self
The objects are the same.
public static final QAccessible.RelationFlag Ancestor
The first object is a parent of the second object.
public static final QAccessible.RelationFlag Child
The first object is a direct child of the second object.
public static final QAccessible.RelationFlag Descendent
The first object is an indirect child of the second object.
public static final QAccessible.RelationFlag Sibling
The objects are siblings.
public static final QAccessible.RelationFlag HierarchyMask
public static final QAccessible.RelationFlag Up
The first object is above the second object.
public static final QAccessible.RelationFlag Down
The first object is below the second object.
public static final QAccessible.RelationFlag Left
The first object is left of the second object.
public static final QAccessible.RelationFlag Right
The first object is right of the second object.
public static final QAccessible.RelationFlag Covers
The first object covers the second object.
public static final QAccessible.RelationFlag Covered
The first object is covered by the second object.
public static final QAccessible.RelationFlag GeometryMask
public static final QAccessible.RelationFlag FocusChild
The first object is the second object's focus child.
public static final QAccessible.RelationFlag Label
The first object is the label of the second object.
public static final QAccessible.RelationFlag Labelled
The first object is labelled by the second object.
public static final QAccessible.RelationFlag Controller
The first object controls the second object.
public static final QAccessible.RelationFlag Controlled
The first object is controlled by the second object.
public static final QAccessible.RelationFlag LogicalMask
Method Detail |
---|
public static QAccessible.RelationFlag[] values()
for (QAccessible.RelationFlag c : QAccessible.RelationFlag.values()) System.out.println(c);
public static QAccessible.RelationFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QAccessible.Relation createQFlags(QAccessible.RelationFlag... values)
public static QAccessible.RelationFlag resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |