- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QChar.Category>
,Constable
- Enclosing class:
QChar
Java wrapper for Qt enum QChar::Category
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQChar::
Letter_Lowercase RepresentingQChar::
Letter_Modifier RepresentingQChar::
Letter_Other RepresentingQChar::
Letter_Titlecase RepresentingQChar::
Letter_Uppercase RepresentingQChar::
Mark_Enclosing RepresentingQChar::
Mark_NonSpacing RepresentingQChar::
Mark_SpacingCombining RepresentingQChar::
Number_DecimalDigit RepresentingQChar::
Number_Letter RepresentingQChar::
Number_Other RepresentingQChar::
Other_Control RepresentingQChar::
Other_Format RepresentingQChar::
Other_NotAssigned RepresentingQChar::
Other_PrivateUse RepresentingQChar::
Other_Surrogate RepresentingQChar::
Punctuation_Close RepresentingQChar::
Punctuation_Connector RepresentingQChar::
Punctuation_Dash RepresentingQChar::
Punctuation_FinalQuote RepresentingQChar::
Punctuation_InitialQuote RepresentingQChar::
Punctuation_Open RepresentingQChar::
Punctuation_Other RepresentingQChar::
Separator_Line RepresentingQChar::
Separator_Paragraph RepresentingQChar::
Separator_Space RepresentingQChar::
Symbol_Currency RepresentingQChar::
Symbol_Math RepresentingQChar::
Symbol_Modifier RepresentingQChar::
Symbol_Other -
Method Summary
Modifier and TypeMethodDescriptionstatic QChar.Category
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 QChar.Category
Returns the enum constant of this type with the specified name.static QChar.Category[]
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
-
Mark_NonSpacing
Representing
QChar::
Mark_NonSpacing -
Mark_SpacingCombining
Representing
QChar::
Mark_SpacingCombining -
Mark_Enclosing
Representing
QChar::
Mark_Enclosing -
Number_DecimalDigit
Representing
QChar::
Number_DecimalDigit -
Number_Letter
Representing
QChar::
Number_Letter -
Number_Other
Representing
QChar::
Number_Other -
Separator_Space
Representing
QChar::
Separator_Space -
Separator_Line
Representing
QChar::
Separator_Line -
Separator_Paragraph
Representing
QChar::
Separator_Paragraph -
Other_Control
Representing
QChar::
Other_Control -
Other_Format
Representing
QChar::
Other_Format -
Other_Surrogate
Representing
QChar::
Other_Surrogate -
Other_PrivateUse
Representing
QChar::
Other_PrivateUse -
Other_NotAssigned
Representing
QChar::
Other_NotAssigned -
Letter_Uppercase
Representing
QChar::
Letter_Uppercase -
Letter_Lowercase
Representing
QChar::
Letter_Lowercase -
Letter_Titlecase
Representing
QChar::
Letter_Titlecase -
Letter_Modifier
Representing
QChar::
Letter_Modifier -
Letter_Other
Representing
QChar::
Letter_Other -
Punctuation_Connector
Representing
QChar::
Punctuation_Connector -
Punctuation_Dash
Representing
QChar::
Punctuation_Dash -
Punctuation_Open
Representing
QChar::
Punctuation_Open -
Punctuation_Close
Representing
QChar::
Punctuation_Close -
Punctuation_InitialQuote
Representing
QChar::
Punctuation_InitialQuote -
Punctuation_FinalQuote
Representing
QChar::
Punctuation_FinalQuote -
Punctuation_Other
Representing
QChar::
Punctuation_Other -
Symbol_Math
Representing
QChar::
Symbol_Math -
Symbol_Currency
Representing
QChar::
Symbol_Currency -
Symbol_Modifier
Representing
QChar::
Symbol_Modifier -
Symbol_Other
Representing
QChar::
Symbol_Other
-
-
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
-