Package org.gnome.glib
Enum Class UnicodeBreakType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<UnicodeBreakType>
,Constable
@Generated("io.github.jwharm.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
.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBreak Opportunity After (BA)Aksara (AK).Ordinary Alphabetic and Symbol Characters (AL)Ambiguous (Alphabetic or Ideographic) (AI)Break Opportunity Before (BB)Break Opportunity Before and After (B2)Carriage Return (CR)Closing Parenthesis (CP).Closing Punctuation (CL)Attached Characters and Combining Marks (CM)Complex Content Dependent (South East Asian) (SA)Conditional Japanese Starter (CJ).Contingent Break Opportunity (CB)Emoji Base (EB).Emoji Modifier (EM).Exclamation/Interrogation (EX)Hangul L Jamo (JL)Hangul LV Syllable (H2)Hangul LVT Syllable (H3)Hangul T Jamo (JT)Hangul V Jamo (JV)Hebrew Letter (HL).Hyphen (HY)Ideographic (ID)Infix Separator (Numeric) (IS)Inseparable (IN)Line Feed (LF)Mandatory Break (BK)Next Line (NL)Non-breaking ("Glue") (GL)Nonstarter (NS)Numeric (NU)Opening Punctuation (OP)Postfix (Numeric) (PO)Prefix (Numeric) (PR)Ambiguous Quotation (QU)Regional Indicator (RI).Space (SP)Surrogates (SG)Symbols Allowing Break After (SY)Unknown (XX)Word Joiner (WJ)Zero Width Joiner (ZWJ).Zero Width Space (ZW) -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the UnicodeBreakType classint
getValue()
Get the numeric value of this enumstatic UnicodeBreakType
of
(int value) Create a new UnicodeBreakType for the provided valuestatic UnicodeBreakType
Returns the enum constant of this class with the specified name.static UnicodeBreakType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MANDATORY
Mandatory Break (BK) -
CARRIAGE_RETURN
Carriage Return (CR) -
LINE_FEED
Line Feed (LF) -
COMBINING_MARK
Attached Characters and Combining Marks (CM) -
SURROGATE
Surrogates (SG) -
ZERO_WIDTH_SPACE
Zero Width Space (ZW) -
INSEPARABLE
Inseparable (IN) -
NON_BREAKING_GLUE
Non-breaking ("Glue") (GL) -
CONTINGENT
Contingent Break Opportunity (CB) -
SPACE
Space (SP) -
AFTER
Break Opportunity After (BA) -
BEFORE
Break Opportunity Before (BB) -
BEFORE_AND_AFTER
Break Opportunity Before and After (B2) -
HYPHEN
Hyphen (HY) -
NON_STARTER
Nonstarter (NS) -
OPEN_PUNCTUATION
Opening Punctuation (OP) -
CLOSE_PUNCTUATION
Closing Punctuation (CL) -
QUOTATION
Ambiguous Quotation (QU) -
EXCLAMATION
Exclamation/Interrogation (EX) -
IDEOGRAPHIC
Ideographic (ID) -
NUMERIC
Numeric (NU) -
INFIX_SEPARATOR
Infix Separator (Numeric) (IS) -
SYMBOL
Symbols Allowing Break After (SY) -
ALPHABETIC
Ordinary Alphabetic and Symbol Characters (AL) -
PREFIX
Prefix (Numeric) (PR) -
POSTFIX
Postfix (Numeric) (PO) -
COMPLEX_CONTEXT
Complex Content Dependent (South East Asian) (SA) -
AMBIGUOUS
Ambiguous (Alphabetic or Ideographic) (AI) -
UNKNOWN
Unknown (XX) -
NEXT_LINE
Next Line (NL) -
WORD_JOINER
Word Joiner (WJ) -
HANGUL_L_JAMO
Hangul L Jamo (JL) -
HANGUL_V_JAMO
Hangul V Jamo (JV) -
HANGUL_T_JAMO
Hangul T Jamo (JT) -
HANGUL_LV_SYLLABLE
Hangul LV Syllable (H2) -
HANGUL_LVT_SYLLABLE
Hangul LVT Syllable (H3) -
CLOSE_PARANTHESIS
Closing Parenthesis (CP). Since 2.28. Deprecated: 2.70: UseCLOSE_PARENTHESIS
instead. -
CONDITIONAL_JAPANESE_STARTER
Conditional Japanese Starter (CJ). Since: 2.32 -
HEBREW_LETTER
Hebrew Letter (HL). Since: 2.32 -
REGIONAL_INDICATOR
Regional Indicator (RI). Since: 2.36 -
EMOJI_BASE
Emoji Base (EB). Since: 2.50 -
EMOJI_MODIFIER
Emoji Modifier (EM). Since: 2.50 -
ZERO_WIDTH_JOINER
Zero Width Joiner (ZWJ). Since: 2.50 -
AKSARA
Aksara (AK). Since: 2.80GUNICODEBREAKAKSARAPREBASE
(AP). Since: 2.80GUNICODEBREAKAKSARASTART
(AS). Since: 2.80GUNICODEBREAKVIRAMAFINAL
(VF). Since: 2.80GUNICODEBREAKVIRAMA
(VI). Since: 2.80 -
AKSARA_PRE_BASE
-
AKSARA_START
-
VIRAMA_FINAL
-
VIRAMA
-
-
Field Details
-
CLOSE_PARENTHESIS
Closing Parenthesis (CP). Since 2.70
-
-
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 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 interfaceEnumeration
- Returns:
- the enum value
-
getType
-