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