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