- 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
ConstructorsConstructorDescriptionCreates a new GlyphRunFlags.GlyphRunFlags(int value) Creates a new GlyphRunFlags with givenvalue.GlyphRunFlags(QGlyphRun.GlyphRunFlag ... args) Creates a new GlyphRunFlags where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QGlyphRun.GlyphRunFlagsclone()Clones the flagsfinal QGlyphRun.GlyphRunFlagsCombines this flags with enum entry.final intcompareTo(QGlyphRun.GlyphRunFlags other) final QGlyphRun.GlyphRunFlag []flags()Returns an array of flag objects represented by this GlyphRunFlags.final QGlyphRun.GlyphRunFlagsSets the flagefinal QGlyphRun.GlyphRunFlagssetFlag(QGlyphRun.GlyphRunFlag e, boolean on) Sets or clears the flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
GlyphRunFlags
public GlyphRunFlags()Creates a new GlyphRunFlags. -
GlyphRunFlags
Creates a new GlyphRunFlags where the flags inargsare 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:
combinedin classQFlags<QGlyphRun.GlyphRunFlag>- Parameters:
e- enum entry- Returns:
- new GlyphRunFlags
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QGlyphRun.GlyphRunFlag>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<QGlyphRun.GlyphRunFlag>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QGlyphRun.GlyphRunFlag>
-
compareTo
- Specified by:
compareToin interfaceComparable<QGlyphRun.GlyphRunFlags>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value- new value
-