Package org.gnome.glib
Enum Class UnicodeType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<UnicodeType>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum UnicodeType
extends Enum<UnicodeType>
implements Enumeration
These are the possible character classifications from the
Unicode specification.
See Unicode Character Database.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionGeneral category "Punctuation, Close" (Pe)General category "Punctuation, Connector" (Pc)General category "Other, Control" (Cc)General category "Symbol, Currency" (Sc)General category "Punctuation, Dash" (Pd)General category "Number, Decimal Digit" (Nd)General category "Mark, Enclosing" (Me)General category "Punctuation, Final quote" (Pf)General category "Other, Format" (Cf)General category "Punctuation, Initial quote" (Pi)General category "Number, Letter" (Nl)General category "Separator, Line" (Zl)General category "Letter, Lowercase" (Ll)General category "Symbol, Math" (Sm)General category "Letter, Modifier" (Lm)General category "Symbol, Modifier" (Sk)General category "Mark, Nonspacing" (Mn)General category "Punctuation, Open" (Ps)General category "Letter, Other" (Lo)General category "Number, Other" (No)General category "Punctuation, Other" (Po)General category "Symbol, Other" (So)General category "Separator, Paragraph" (Zp)General category "Other, Private Use" (Co)General category "Separator, Space" (Zs)General category "Mark, Spacing" (Mc)General category "Other, Surrogate" (Cs)General category "Letter, Titlecase" (Lt)General category "Other, Not Assigned" (Cn)General category "Letter, Uppercase" (Lu) -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the UnicodeType classint
getValue()
Get the numeric value of this enumstatic UnicodeType
of
(int value) Create a new UnicodeType for the provided valuestatic UnicodeType
Returns the enum constant of this class with the specified name.static UnicodeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTROL
General category "Other, Control" (Cc) -
FORMAT
General category "Other, Format" (Cf) -
UNASSIGNED
General category "Other, Not Assigned" (Cn) -
PRIVATE_USE
General category "Other, Private Use" (Co) -
SURROGATE
General category "Other, Surrogate" (Cs) -
LOWERCASE_LETTER
General category "Letter, Lowercase" (Ll) -
MODIFIER_LETTER
General category "Letter, Modifier" (Lm) -
OTHER_LETTER
General category "Letter, Other" (Lo) -
TITLECASE_LETTER
General category "Letter, Titlecase" (Lt) -
UPPERCASE_LETTER
General category "Letter, Uppercase" (Lu) -
SPACING_MARK
General category "Mark, Spacing" (Mc) -
ENCLOSING_MARK
General category "Mark, Enclosing" (Me) -
NON_SPACING_MARK
General category "Mark, Nonspacing" (Mn) -
DECIMAL_NUMBER
General category "Number, Decimal Digit" (Nd) -
LETTER_NUMBER
General category "Number, Letter" (Nl) -
OTHER_NUMBER
General category "Number, Other" (No) -
CONNECT_PUNCTUATION
General category "Punctuation, Connector" (Pc) -
DASH_PUNCTUATION
General category "Punctuation, Dash" (Pd) -
CLOSE_PUNCTUATION
General category "Punctuation, Close" (Pe) -
FINAL_PUNCTUATION
General category "Punctuation, Final quote" (Pf) -
INITIAL_PUNCTUATION
General category "Punctuation, Initial quote" (Pi) -
OTHER_PUNCTUATION
General category "Punctuation, Other" (Po) -
OPEN_PUNCTUATION
General category "Punctuation, Open" (Ps) -
CURRENCY_SYMBOL
General category "Symbol, Currency" (Sc) -
MODIFIER_SYMBOL
General category "Symbol, Modifier" (Sk) -
MATH_SYMBOL
General category "Symbol, Math" (Sm) -
OTHER_SYMBOL
General category "Symbol, Other" (So) -
LINE_SEPARATOR
General category "Separator, Line" (Zl) -
PARAGRAPH_SEPARATOR
General category "Separator, Paragraph" (Zp) -
SPACE_SEPARATOR
General category "Separator, Space" (Zs)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new UnicodeType for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-