- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QFont.ResolveProperties>
,Constable
- Enclosing class:
QFont
Java wrapper for Qt enum QFont::ResolveProperties
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQFont::
AllPropertiesResolved RepresentingQFont::
CapitalizationResolved RepresentingQFont::
FamiliesResolved RepresentingQFont::
FamilyResolved RepresentingQFont::
FeaturesResolved RepresentingQFont::
FixedPitchResolved RepresentingQFont::
HintingPreferenceResolved RepresentingQFont::
KerningResolved RepresentingQFont::
LetterSpacingResolved RepresentingQFont::
NoPropertiesResolved RepresentingQFont::
OverlineResolved RepresentingQFont::
SizeResolved RepresentingQFont::
StretchResolved RepresentingQFont::
StrikeOutResolved RepresentingQFont::
StyleHintResolved RepresentingQFont::
StyleNameResolved RepresentingQFont::
StyleResolved RepresentingQFont::
StyleStrategyResolved RepresentingQFont::
UnderlineResolved RepresentingQFont::
VariableAxesResolved RepresentingQFont::
WeightResolved RepresentingQFont::
WordSpacingResolved -
Method Summary
Modifier and TypeMethodDescriptionstatic QFont.ResolveProperties
resolve
(int value) Returns the corresponding enum entry for the given value.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static QFont.ResolveProperties
Returns the enum constant of this type with the specified name.static QFont.ResolveProperties[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.qt.QtAbstractEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
NoPropertiesResolved
Representing
QFont::
NoPropertiesResolved -
FamilyResolved
Representing
QFont::
FamilyResolved -
SizeResolved
Representing
QFont::
SizeResolved -
StyleHintResolved
Representing
QFont::
StyleHintResolved -
StyleStrategyResolved
Representing
QFont::
StyleStrategyResolved -
WeightResolved
Representing
QFont::
WeightResolved -
StyleResolved
Representing
QFont::
StyleResolved -
UnderlineResolved
Representing
QFont::
UnderlineResolved -
OverlineResolved
Representing
QFont::
OverlineResolved -
StrikeOutResolved
Representing
QFont::
StrikeOutResolved -
FixedPitchResolved
Representing
QFont::
FixedPitchResolved -
StretchResolved
Representing
QFont::
StretchResolved -
KerningResolved
Representing
QFont::
KerningResolved -
CapitalizationResolved
Representing
QFont::
CapitalizationResolved -
LetterSpacingResolved
Representing
QFont::
LetterSpacingResolved -
WordSpacingResolved
Representing
QFont::
WordSpacingResolved -
HintingPreferenceResolved
Representing
QFont::
HintingPreferenceResolved -
StyleNameResolved
Representing
QFont::
StyleNameResolved -
FamiliesResolved
Representing
QFont::
FamiliesResolved -
FeaturesResolved
Representing
QFont::
FeaturesResolved -
VariableAxesResolved
Representing
QFont::
VariableAxesResolved -
AllPropertiesResolved
Representing
QFont::
AllPropertiesResolved
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()This function should return an integer value for the enum values of the enumeration that implements this interface. Default isEnum.ordinal()
.- Specified by:
value
in interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
-