-
Constructor Summary
Constructors
Creates a new Flags with given value
.
Creates a new Flags where the flags in args
are set.
-
Method Summary
Combines this flags with enum entry.
final int
Returns an array of flag objects represented by this Flags.
Sets or clears the flag flag
Methods inherited from class io.qt.QFlags
clear, clear, clearAll, cleared, compare, equals, exclude, flags, hashCode, isSet, isSet, set, set, setValue, testAnyFlags, testAnyFlags, testFlag, testFlags, testFlags, toInt, toString, value
-
Constructor Details
-
Flags
Creates a new Flags where the flags in args
are set.
- Parameters:
args
- enum entries
-
Flags
public Flags(int value)
Creates a new Flags with given value
.
- Parameters:
value
-
-
Method Details
-
combined
Combines this flags with enum entry.
- Overrides:
combined
in class QFlags<QRhi.Flag>
- Parameters:
e
- enum entry
- Returns:
- new Flags
-
setFlag
Sets the flag e
- Overrides:
setFlag
in class QFlags<QRhi.Flag>
- Parameters:
e
- enum entry
- Returns:
- this
-
setFlag
Sets or clears the flag flag
- Overrides:
setFlag
in class QFlags<QRhi.Flag>
- Parameters:
e
- enum entry
on
- set (true) or clear (false)
- Returns:
- this
-
flags
Returns an array of flag objects represented by this Flags.
- Overrides:
flags
in class QFlags<QRhi.Flag>
- Returns:
- array of enum entries
-
-