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