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