- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QLibrary.LoadHints>
- Enclosing class:
QLibrary
public static final class QLibrary.LoadHints
extends QFlags<QLibrary.LoadHint>
implements Comparable<QLibrary.LoadHints>
QFlags type for enum QLibrary.LoadHint- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new LoadHints.LoadHints(int value) Creates a new LoadHints with givenvalue.LoadHints(QLibrary.LoadHint ... args) Creates a new LoadHints where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QLibrary.LoadHintsclone()Clones the flagsfinal QLibrary.LoadHintsCombines this flags with enum entry.final intcompareTo(QLibrary.LoadHints other) final QLibrary.LoadHint []flags()Returns an array of flag objects represented by this LoadHints.final QLibrary.LoadHintsSets the flagefinal QLibrary.LoadHintssetFlag(QLibrary.LoadHint 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
-
LoadHints
public LoadHints()Creates a new LoadHints. -
LoadHints
Creates a new LoadHints where the flags inargsare set.- Parameters:
args- enum entries
-
LoadHints
public LoadHints(int value) Creates a new LoadHints with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QLibrary.LoadHint>- Parameters:
e- enum entry- Returns:
- new LoadHints
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QLibrary.LoadHint>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classQFlags<QLibrary.LoadHint>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this LoadHints.- Overrides:
flagsin classQFlags<QLibrary.LoadHint>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QLibrary.LoadHint>
-
compareTo
- Specified by:
compareToin interfaceComparable<QLibrary.LoadHints>
-
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
-