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