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