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