- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QAccessible.Relation>
- Enclosing class:
QAccessible
public static final class QAccessible.Relation
extends QFlags<QAccessible.RelationFlag>
implements Comparable<QAccessible.Relation>
QFlags type for enum
QAccessible.RelationFlag
- See Also:
-
Constructor Summary
ConstructorDescriptionRelation
(int value) Creates a new Relation with givenvalue
.Relation
(QAccessible.RelationFlag... args) Creates a new Relation where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QAccessible.Relation
clone()
Clones the flagsfinal QAccessible.Relation
Combines this flags with enum entry.final int
compareTo
(QAccessible.Relation other) final QAccessible.RelationFlag[]
flags()
Returns an array of flag objects represented by this Relation.final QAccessible.Relation
Sets the flage
final QAccessible.Relation
setFlag
(QAccessible.RelationFlag e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
Relation
Creates a new Relation where the flags inargs
are set.- Parameters:
args
- enum entries
-
Relation
public Relation(int value) Creates a new Relation with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QAccessible.RelationFlag>
- Parameters:
e
- enum entry- Returns:
- new Relation
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QAccessible.RelationFlag>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QAccessible.RelationFlag>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this Relation.- Overrides:
flags
in classQFlags<QAccessible.RelationFlag>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QAccessible.RelationFlag>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QAccessible.Relation>
-