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