Enum Class UnicodeType

java.lang.Object
java.lang.Enum<UnicodeType>
org.gnome.glib.UnicodeType
All Implemented Interfaces:
Serializable, Comparable<UnicodeType>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum UnicodeType extends Enum<UnicodeType> implements Enumeration
These are the possible character classifications from the Unicode specification. See Unicode Character Database.
  • Enum Constant Details

    • CONTROL

      public static final UnicodeType CONTROL
      General category "Other, Control" (Cc)
    • FORMAT

      public static final UnicodeType FORMAT
      General category "Other, Format" (Cf)
    • UNASSIGNED

      public static final UnicodeType UNASSIGNED
      General category "Other, Not Assigned" (Cn)
    • PRIVATE_USE

      public static final UnicodeType PRIVATE_USE
      General category "Other, Private Use" (Co)
    • SURROGATE

      public static final UnicodeType SURROGATE
      General category "Other, Surrogate" (Cs)
    • LOWERCASE_LETTER

      public static final UnicodeType LOWERCASE_LETTER
      General category "Letter, Lowercase" (Ll)
    • MODIFIER_LETTER

      public static final UnicodeType MODIFIER_LETTER
      General category "Letter, Modifier" (Lm)
    • OTHER_LETTER

      public static final UnicodeType OTHER_LETTER
      General category "Letter, Other" (Lo)
    • TITLECASE_LETTER

      public static final UnicodeType TITLECASE_LETTER
      General category "Letter, Titlecase" (Lt)
    • UPPERCASE_LETTER

      public static final UnicodeType UPPERCASE_LETTER
      General category "Letter, Uppercase" (Lu)
    • SPACING_MARK

      public static final UnicodeType SPACING_MARK
      General category "Mark, Spacing" (Mc)
    • ENCLOSING_MARK

      public static final UnicodeType ENCLOSING_MARK
      General category "Mark, Enclosing" (Me)
    • NON_SPACING_MARK

      public static final UnicodeType NON_SPACING_MARK
      General category "Mark, Nonspacing" (Mn)
    • DECIMAL_NUMBER

      public static final UnicodeType DECIMAL_NUMBER
      General category "Number, Decimal Digit" (Nd)
    • LETTER_NUMBER

      public static final UnicodeType LETTER_NUMBER
      General category "Number, Letter" (Nl)
    • OTHER_NUMBER

      public static final UnicodeType OTHER_NUMBER
      General category "Number, Other" (No)
    • CONNECT_PUNCTUATION

      public static final UnicodeType CONNECT_PUNCTUATION
      General category "Punctuation, Connector" (Pc)
    • DASH_PUNCTUATION

      public static final UnicodeType DASH_PUNCTUATION
      General category "Punctuation, Dash" (Pd)
    • CLOSE_PUNCTUATION

      public static final UnicodeType CLOSE_PUNCTUATION
      General category "Punctuation, Close" (Pe)
    • FINAL_PUNCTUATION

      public static final UnicodeType FINAL_PUNCTUATION
      General category "Punctuation, Final quote" (Pf)
    • INITIAL_PUNCTUATION

      public static final UnicodeType INITIAL_PUNCTUATION
      General category "Punctuation, Initial quote" (Pi)
    • OTHER_PUNCTUATION

      public static final UnicodeType OTHER_PUNCTUATION
      General category "Punctuation, Other" (Po)
    • OPEN_PUNCTUATION

      public static final UnicodeType OPEN_PUNCTUATION
      General category "Punctuation, Open" (Ps)
    • CURRENCY_SYMBOL

      public static final UnicodeType CURRENCY_SYMBOL
      General category "Symbol, Currency" (Sc)
    • MODIFIER_SYMBOL

      public static final UnicodeType MODIFIER_SYMBOL
      General category "Symbol, Modifier" (Sk)
    • MATH_SYMBOL

      public static final UnicodeType MATH_SYMBOL
      General category "Symbol, Math" (Sm)
    • OTHER_SYMBOL

      public static final UnicodeType OTHER_SYMBOL
      General category "Symbol, Other" (So)
    • LINE_SEPARATOR

      public static final UnicodeType LINE_SEPARATOR
      General category "Separator, Line" (Zl)
    • PARAGRAPH_SEPARATOR

      public static final UnicodeType PARAGRAPH_SEPARATOR
      General category "Separator, Paragraph" (Zp)
    • SPACE_SEPARATOR

      public static final UnicodeType SPACE_SEPARATOR
      General category "Separator, Space" (Zs)
  • Method Details

    • values

      public static UnicodeType[] 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

      public static UnicodeType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • of

      public static UnicodeType of(int value)
      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 interface Enumeration
      Returns:
      the enum value
    • of

      public static UnicodeType of(MemorySegment address)
      Create a new UnicodeType for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the UnicodeType class.
      Returns:
      the GType