Enum Class UnicodeBreakType

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

@Generated("org.javagi.JavaGI") public enum UnicodeBreakType extends Enum<UnicodeBreakType> implements Enumeration

These are the possible line break classifications.

Since new Unicode versions may add new types here, applications should be ready to handle unknown values. They may be regarded as UNKNOWN.

See Unicode Line Breaking Algorithm.

  • Enum Constant Details

    • MANDATORY

      public static final UnicodeBreakType MANDATORY
      Mandatory Break (BK)
    • CARRIAGE_RETURN

      public static final UnicodeBreakType CARRIAGE_RETURN
      Carriage Return (CR)
    • LINE_FEED

      public static final UnicodeBreakType LINE_FEED
      Line Feed (LF)
    • COMBINING_MARK

      public static final UnicodeBreakType COMBINING_MARK
      Attached Characters and Combining Marks (CM)
    • SURROGATE

      public static final UnicodeBreakType SURROGATE
      Surrogates (SG)
    • ZERO_WIDTH_SPACE

      public static final UnicodeBreakType ZERO_WIDTH_SPACE
      Zero Width Space (ZW)
    • INSEPARABLE

      public static final UnicodeBreakType INSEPARABLE
      Inseparable (IN)
    • NON_BREAKING_GLUE

      public static final UnicodeBreakType NON_BREAKING_GLUE
      Non-breaking ("Glue") (GL)
    • CONTINGENT

      public static final UnicodeBreakType CONTINGENT
      Contingent Break Opportunity (CB)
    • SPACE

      public static final UnicodeBreakType SPACE
      Space (SP)
    • AFTER

      public static final UnicodeBreakType AFTER
      Break Opportunity After (BA)
    • BEFORE

      public static final UnicodeBreakType BEFORE
      Break Opportunity Before (BB)
    • BEFORE_AND_AFTER

      public static final UnicodeBreakType BEFORE_AND_AFTER
      Break Opportunity Before and After (B2)
    • HYPHEN

      public static final UnicodeBreakType HYPHEN
      Hyphen (HY)
    • NON_STARTER

      public static final UnicodeBreakType NON_STARTER
      Nonstarter (NS)
    • OPEN_PUNCTUATION

      public static final UnicodeBreakType OPEN_PUNCTUATION
      Opening Punctuation (OP)
    • CLOSE_PUNCTUATION

      public static final UnicodeBreakType CLOSE_PUNCTUATION
      Closing Punctuation (CL)
    • QUOTATION

      public static final UnicodeBreakType QUOTATION
      Ambiguous Quotation (QU)
    • EXCLAMATION

      public static final UnicodeBreakType EXCLAMATION
      Exclamation/Interrogation (EX)
    • IDEOGRAPHIC

      public static final UnicodeBreakType IDEOGRAPHIC
      Ideographic (ID)
    • NUMERIC

      public static final UnicodeBreakType NUMERIC
      Numeric (NU)
    • INFIX_SEPARATOR

      public static final UnicodeBreakType INFIX_SEPARATOR
      Infix Separator (Numeric) (IS)
    • SYMBOL

      public static final UnicodeBreakType SYMBOL
      Symbols Allowing Break After (SY)
    • ALPHABETIC

      public static final UnicodeBreakType ALPHABETIC
      Ordinary Alphabetic and Symbol Characters (AL)
    • PREFIX

      public static final UnicodeBreakType PREFIX
      Prefix (Numeric) (PR)
    • POSTFIX

      public static final UnicodeBreakType POSTFIX
      Postfix (Numeric) (PO)
    • COMPLEX_CONTEXT

      public static final UnicodeBreakType COMPLEX_CONTEXT
      Complex Content Dependent (South East Asian) (SA)
    • AMBIGUOUS

      public static final UnicodeBreakType AMBIGUOUS
      Ambiguous (Alphabetic or Ideographic) (AI)
    • UNKNOWN

      public static final UnicodeBreakType UNKNOWN
      Unknown (XX)
    • NEXT_LINE

      public static final UnicodeBreakType NEXT_LINE
      Next Line (NL)
    • WORD_JOINER

      public static final UnicodeBreakType WORD_JOINER
      Word Joiner (WJ)
    • HANGUL_L_JAMO

      public static final UnicodeBreakType HANGUL_L_JAMO
      Hangul L Jamo (JL)
    • HANGUL_V_JAMO

      public static final UnicodeBreakType HANGUL_V_JAMO
      Hangul V Jamo (JV)
    • HANGUL_T_JAMO

      public static final UnicodeBreakType HANGUL_T_JAMO
      Hangul T Jamo (JT)
    • HANGUL_LV_SYLLABLE

      public static final UnicodeBreakType HANGUL_LV_SYLLABLE
      Hangul LV Syllable (H2)
    • HANGUL_LVT_SYLLABLE

      public static final UnicodeBreakType HANGUL_LVT_SYLLABLE
      Hangul LVT Syllable (H3)
    • CLOSE_PARANTHESIS

      public static final UnicodeBreakType CLOSE_PARANTHESIS
      Closing Parenthesis (CP). Since 2.28. Deprecated: 2.70: Use CLOSE_PARENTHESIS instead.
    • CONDITIONAL_JAPANESE_STARTER

      public static final UnicodeBreakType CONDITIONAL_JAPANESE_STARTER
      Conditional Japanese Starter (CJ). Since: 2.32
    • HEBREW_LETTER

      public static final UnicodeBreakType HEBREW_LETTER
      Hebrew Letter (HL). Since: 2.32
    • REGIONAL_INDICATOR

      public static final UnicodeBreakType REGIONAL_INDICATOR
      Regional Indicator (RI). Since: 2.36
    • EMOJI_BASE

      public static final UnicodeBreakType EMOJI_BASE
      Emoji Base (EB). Since: 2.50
    • EMOJI_MODIFIER

      public static final UnicodeBreakType EMOJI_MODIFIER
      Emoji Modifier (EM). Since: 2.50
    • ZERO_WIDTH_JOINER

      public static final UnicodeBreakType ZERO_WIDTH_JOINER
      Zero Width Joiner (ZWJ). Since: 2.50
    • AKSARA

      public static final UnicodeBreakType AKSARA
      Aksara (AK). Since: 2.80
    • AKSARA_PRE_BASE

      public static final UnicodeBreakType AKSARA_PRE_BASE
      Aksara Pre-Base (AP). Since: 2.80
    • AKSARA_START

      public static final UnicodeBreakType AKSARA_START
      Aksara Start (AS). Since: 2.80
    • VIRAMA_FINAL

      public static final UnicodeBreakType VIRAMA_FINAL
      Virama Final (VF). Since: 2.80
    • VIRAMA

      public static final UnicodeBreakType VIRAMA
      Virama (VI). Since: 2.80
    • UNAMBIGUOUS_HYPHEN

      public static final UnicodeBreakType UNAMBIGUOUS_HYPHEN
      Unambiguous Hyphen (HH). Since: 2.88
  • Field Details

    • CLOSE_PARENTHESIS

      public static final UnicodeBreakType CLOSE_PARENTHESIS
      Closing Parenthesis (CP). Since 2.70
  • Method Details

    • values

      public static UnicodeBreakType[] 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 UnicodeBreakType 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 UnicodeBreakType of(int value)
      Create a new UnicodeBreakType 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 UnicodeBreakType of(MemorySegment address)
      Create a new UnicodeBreakType 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 UnicodeBreakType class.
      Returns:
      the GType