NumericShaper.Range

public static enum NumericShaper.Range
extends Enum<NumericShaper.Range>

java.lang.Object
   ↳ java.lang.Enum<java.awt.font.NumericShaper.Range>
     ↳ java.awt.font.NumericShaper.Range


A NumericShaper.Range represents a Unicode range of a script having its own decimal digits. For example, the THAI range has the Thai digits, THAI DIGIT ZERO (U+0E50) to THAI DIGIT NINE (U+0E59).

The Range enum replaces the traditional bit mask-based values (e.g., NumericShaper.ARABIC), and supports more Unicode ranges than the bit mask-based ones. For example, the following code using the bit mask:

 NumericShaper.getContextualShaper(NumericShaper.ARABIC |
                                     NumericShaper.TAMIL,
                                   NumericShaper.EUROPEAN);
 
can be written using this enum as:
 NumericShaper.getContextualShaper(EnumSet.of(
                                     NumericShaper.Range.ARABIC,
                                     NumericShaper.Range.TAMIL),
                                   NumericShaper.Range.EUROPEAN);
 

Summary

Enum values

NumericShaper.Range  ARABIC

The Arabic range with the Arabic-Indic digits. 

NumericShaper.Range  BALINESE

The Balinese range with the Balinese digits. 

NumericShaper.Range  BENGALI

The Bengali range with the Bengali digits. 

NumericShaper.Range  CHAM

The Cham range with the Cham digits. 

NumericShaper.Range  DEVANAGARI

The Devanagari range with the Devanagari digits. 

NumericShaper.Range  EASTERN_ARABIC

The Arabic range with the Eastern Arabic-Indic digits. 

NumericShaper.Range  ETHIOPIC

The Ethiopic range with the Ethiopic digits. 

NumericShaper.Range  EUROPEAN

The Latin (European) range with the Latin (ASCII) digits. 

NumericShaper.Range  GUJARATI

The Gujarati range with the Gujarati digits. 

NumericShaper.Range  GURMUKHI

The Gurmukhi range with the Gurmukhi digits. 

NumericShaper.Range  JAVANESE

The Javanese range with the Javanese digits. 

NumericShaper.Range  KANNADA

The Kannada range with the Kannada digits. 

NumericShaper.Range  KAYAH_LI

The Kayah Li range with the Kayah Li digits. 

NumericShaper.Range  KHMER

The Khmer range with the Khmer digits. 

NumericShaper.Range  LAO

The Lao range with the Lao digits. 

NumericShaper.Range  LEPCHA

The Lepcha range with the Lepcha digits. 

NumericShaper.Range  LIMBU

The Limbu range with the Limbu digits. 

NumericShaper.Range  MALAYALAM

The Malayalam range with the Malayalam digits. 

NumericShaper.Range  MEETEI_MAYEK

The Meetei Mayek range with the Meetei Mayek digits. 

NumericShaper.Range  MONGOLIAN

The Mongolian range with the Mongolian digits. 

NumericShaper.Range  MYANMAR

The Myanmar range with the Myanmar digits. 

NumericShaper.Range  MYANMAR_SHAN

The Myanmar range with the Myanmar Shan digits. 

NumericShaper.Range  NEW_TAI_LUE

The New Tai Lue range with the New Tai Lue digits. 

NumericShaper.Range  NKO

The N'Ko range with the N'Ko digits. 

NumericShaper.Range  OL_CHIKI

The Ol Chiki range with the Ol Chiki digits. 

NumericShaper.Range  ORIYA

The Oriya range with the Oriya digits. 

NumericShaper.Range  SAURASHTRA

The Saurashtra range with the Saurashtra digits. 

NumericShaper.Range  SUNDANESE

The Sundanese range with the Sundanese digits. 

NumericShaper.Range  TAI_THAM_HORA

The Tai Tham Hora range with the Tai Tham Hora digits. 

NumericShaper.Range  TAI_THAM_THAM

The Tai Tham Tham range with the Tai Tham Tham digits. 

NumericShaper.Range  TAMIL

The Tamil range with the Tamil digits. 

NumericShaper.Range  TELUGU

The Telugu range with the Telugu digits. 

NumericShaper.Range  THAI

The Thai range with the Thai digits. 

NumericShaper.Range  TIBETAN

The Tibetan range with the Tibetan digits. 

NumericShaper.Range  VAI

The Vai range with the Vai digits. 

Public methods

static NumericShaper.Range valueOf(String name)
static final Range[] values()

Inherited methods

Enum values

ARABIC

added in API level 24
public static final NumericShaper.Range ARABIC

The Arabic range with the Arabic-Indic digits.

BALINESE

added in API level 24
public static final NumericShaper.Range BALINESE

The Balinese range with the Balinese digits.

BENGALI

added in API level 24
public static final NumericShaper.Range BENGALI

The Bengali range with the Bengali digits.

CHAM

added in API level 24
public static final NumericShaper.Range CHAM

The Cham range with the Cham digits.

DEVANAGARI

added in API level 24
public static final NumericShaper.Range DEVANAGARI

The Devanagari range with the Devanagari digits.

EASTERN_ARABIC

added in API level 24
public static final NumericShaper.Range EASTERN_ARABIC

The Arabic range with the Eastern Arabic-Indic digits.

ETHIOPIC

added in API level 24
public static final NumericShaper.Range ETHIOPIC

The Ethiopic range with the Ethiopic digits. Ethiopic does not have a decimal digit 0 so Latin (European) 0 is used.

EUROPEAN

added in API level 24
public static final NumericShaper.Range EUROPEAN

The Latin (European) range with the Latin (ASCII) digits.

GUJARATI

added in API level 24
public static final NumericShaper.Range GUJARATI

The Gujarati range with the Gujarati digits.

GURMUKHI

added in API level 24
public static final NumericShaper.Range GURMUKHI

The Gurmukhi range with the Gurmukhi digits.

JAVANESE

added in API level 24
public static final NumericShaper.Range JAVANESE

The Javanese range with the Javanese digits.

KANNADA

added in API level 24
public static final NumericShaper.Range KANNADA

The Kannada range with the Kannada digits.

KAYAH_LI

added in API level 24
public static final NumericShaper.Range KAYAH_LI

The Kayah Li range with the Kayah Li digits.

KHMER

added in API level 24
public static final NumericShaper.Range KHMER

The Khmer range with the Khmer digits.

LAO

added in API level 24
public static final NumericShaper.Range LAO

The Lao range with the Lao digits.

LEPCHA

added in API level 24
public static final NumericShaper.Range LEPCHA

The Lepcha range with the Lepcha digits.

LIMBU

added in API level 24
public static final NumericShaper.Range LIMBU

The Limbu range with the Limbu digits.

MALAYALAM

added in API level 24
public static final NumericShaper.Range MALAYALAM

The Malayalam range with the Malayalam digits.

MEETEI_MAYEK

added in API level 24
public static final NumericShaper.Range MEETEI_MAYEK

The Meetei Mayek range with the Meetei Mayek digits.

MONGOLIAN

added in API level 24
public static final NumericShaper.Range MONGOLIAN

The Mongolian range with the Mongolian digits.

MYANMAR

added in API level 24
public static final NumericShaper.Range MYANMAR

The Myanmar range with the Myanmar digits.

MYANMAR_SHAN

added in API level 24
public static final NumericShaper.Range MYANMAR_SHAN

The Myanmar range with the Myanmar Shan digits.

NEW_TAI_LUE

added in API level 24
public static final NumericShaper.Range NEW_TAI_LUE

The New Tai Lue range with the New Tai Lue digits.

NKO

added in API level 24
public static final NumericShaper.Range NKO

The N'Ko range with the N'Ko digits.

OL_CHIKI

added in API level 24
public static final NumericShaper.Range OL_CHIKI

The Ol Chiki range with the Ol Chiki digits.

ORIYA

added in API level 24
public static final NumericShaper.Range ORIYA

The Oriya range with the Oriya digits.

SAURASHTRA

added in API level 24
public static final NumericShaper.Range SAURASHTRA

The Saurashtra range with the Saurashtra digits.

SUNDANESE

added in API level 24
public static final NumericShaper.Range SUNDANESE

The Sundanese range with the Sundanese digits.

TAI_THAM_HORA

added in API level 24
public static final NumericShaper.Range TAI_THAM_HORA

The Tai Tham Hora range with the Tai Tham Hora digits.

TAI_THAM_THAM

added in API level 24
public static final NumericShaper.Range TAI_THAM_THAM

The Tai Tham Tham range with the Tai Tham Tham digits.

TAMIL

added in API level 24
public static final NumericShaper.Range TAMIL

The Tamil range with the Tamil digits.

TELUGU

added in API level 24
public static final NumericShaper.Range TELUGU

The Telugu range with the Telugu digits.

THAI

added in API level 24
public static final NumericShaper.Range THAI

The Thai range with the Thai digits.

TIBETAN

added in API level 24
public static final NumericShaper.Range TIBETAN

The Tibetan range with the Tibetan digits.

VAI

added in API level 24
public static final NumericShaper.Range VAI

The Vai range with the Vai digits.

Public methods

valueOf

added in API level 24
public static NumericShaper.Range valueOf (String name)

Parameters
name String

Returns
NumericShaper.Range

values

added in API level 24
public static final Range[] values ()

Returns
Range[]