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