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