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