- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AccessMethods(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 Type Method Description QNearFieldTarget.AccessMethods
clone()
Clones the flagsQNearFieldTarget.AccessMethods
combined(QNearFieldTarget.AccessMethod e)
Combines this flags with enum entry.int
compareTo(QNearFieldTarget.AccessMethods other)
QNearFieldTarget.AccessMethod[]
flags()
Returns an array of flag objects represented by this AccessMethods.QNearFieldTarget.AccessMethods
setFlag(QNearFieldTarget.AccessMethod e)
Sets the flage
QNearFieldTarget.AccessMethods
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>
-