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