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