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
ConstructorsConstructorDescriptionFeature(int value) Creates a new Feature with givenvalue.Creates a new Feature where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intflags()Returns an array of flag objects represented by this Feature.Sets the flagesetFlag(QDesignerIntegrationInterface.FeatureFlag e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
Feature
Creates a new Feature where the flags inargsare 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:
combinedin classQFlags<QDesignerIntegrationInterface.FeatureFlag>- Parameters:
e- enum entry- Returns:
- new Feature
-
setFlag
public final QDesignerIntegrationInterface.Feature setFlag(QDesignerIntegrationInterface.FeatureFlag e) Sets the flage- Overrides:
setFlagin 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:
setFlagin 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:
flagsin classQFlags<QDesignerIntegrationInterface.FeatureFlag>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QDesignerIntegrationInterface.FeatureFlag>
-
compareTo
- Specified by:
compareToin interfaceComparable<QDesignerIntegrationInterface.Feature>
-