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