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