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