java.lang.Object
io.qt.QFlags<QScriptValue.PropertyFlag>
io.qt.script.QScriptValue.PropertyFlags
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QScriptValue.PropertyFlags>
- Enclosing class:
- QScriptValue
public static final class QScriptValue.PropertyFlags
extends io.qt.QFlags<QScriptValue.PropertyFlag>
implements Comparable<QScriptValue.PropertyFlags>
QFlags type for enum
QScriptValue.PropertyFlag- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyFlags(int value) Creates a new PropertyFlags with givenvalue.PropertyFlags(QScriptValue.PropertyFlag... args) Creates a new PropertyFlags where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QScriptValue.PropertyFlag[]flags()Returns an array of flag objects represented by this PropertyFlags.Sets the flagesetFlag(QScriptValue.PropertyFlag e, boolean on) Sets or clears the flagflagMethods inherited from class io.qt.QFlags
clear, clear, clearAll, equals, flags, hashCode, isSet, isSet, set, set, setValue, testAnyFlags, testAnyFlags, testFlag, testFlags, testFlags, toInt, toString, value
-
Constructor Details
-
PropertyFlags
Creates a new PropertyFlags where the flags inargsare set.- Parameters:
args- enum entries
-
PropertyFlags
public PropertyFlags(int value) Creates a new PropertyFlags with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classio.qt.QFlags<QScriptValue.PropertyFlag>- Parameters:
e- enum entry- Returns:
- new PropertyFlags
-
setFlag
Sets the flage- Overrides:
setFlagin classio.qt.QFlags<QScriptValue.PropertyFlag>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classio.qt.QFlags<QScriptValue.PropertyFlag>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this PropertyFlags.- Overrides:
flagsin classio.qt.QFlags<QScriptValue.PropertyFlag>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classio.qt.QFlags<QScriptValue.PropertyFlag>
-
compareTo
- Specified by:
compareToin interfaceComparable<QScriptValue.PropertyFlags>
-