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