- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description FontFilters(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 Type Method Description QFontComboBox.FontFilters
clone()
Clones the flagsQFontComboBox.FontFilters
combined(QFontComboBox.FontFilter e)
Combines this flags with enum entry.int
compareTo(QFontComboBox.FontFilters other)
QFontComboBox.FontFilter[]
flags()
Returns an array of flag objects represented by this FontFilters.QFontComboBox.FontFilters
setFlag(QFontComboBox.FontFilter e)
Sets the flage
QFontComboBox.FontFilters
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>
-