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