- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Relation(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 Type Method Description QAccessible.Relation
clone()
Clones the flagsQAccessible.Relation
combined(QAccessible.RelationFlag e)
Combines this flags with enum entry.int
compareTo(QAccessible.Relation other)
QAccessible.RelationFlag[]
flags()
Returns an array of flag objects represented by this Relation.QAccessible.Relation
setFlag(QAccessible.RelationFlag e)
Sets the flage
QAccessible.Relation
setFlag(QAccessible.RelationFlag e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
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>
-