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