- java.lang.Object
- 
- java.lang.Enum<NumericShaper.Range>
- 
- java.awt.font.NumericShaper.Range
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<NumericShaper.Range>
 - Enclosing class:
- NumericShaper
 
 public static enum NumericShaper.Range extends Enum<NumericShaper.Range> ANumericShaper.Rangerepresents a Unicode range of a script having its own decimal digits. For example, theTHAIrange has the Thai digits, THAI DIGIT ZERO (U+0E50) to THAI DIGIT NINE (U+0E59).The Rangeenum 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:
 can be written using this enum as:NumericShaper.getContextualShaper(NumericShaper.ARABIC | NumericShaper.TAMIL, NumericShaper.EUROPEAN);NumericShaper.getContextualShaper(EnumSet.of( NumericShaper.Range.ARABIC, NumericShaper.Range.TAMIL), NumericShaper.Range.EUROPEAN);- Since:
- 1.7
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ARABICThe Arabic range with the Arabic-Indic digits.BALINESEThe Balinese range with the Balinese digits.BENGALIThe Bengali range with the Bengali digits.CHAMThe Cham range with the Cham digits.DEVANAGARIThe Devanagari range with the Devanagari digits.EASTERN_ARABICThe Arabic range with the Eastern Arabic-Indic digits.ETHIOPICThe Ethiopic range with the Ethiopic digits.EUROPEANThe Latin (European) range with the Latin (ASCII) digits.GUJARATIThe Gujarati range with the Gujarati digits.GURMUKHIThe Gurmukhi range with the Gurmukhi digits.JAVANESEThe Javanese range with the Javanese digits.KANNADAThe Kannada range with the Kannada digits.KAYAH_LIThe Kayah Li range with the Kayah Li digits.KHMERThe Khmer range with the Khmer digits.LAOThe Lao range with the Lao digits.LEPCHAThe Lepcha range with the Lepcha digits.LIMBUThe Limbu range with the Limbu digits.MALAYALAMThe Malayalam range with the Malayalam digits.MEETEI_MAYEKThe Meetei Mayek range with the Meetei Mayek digits.MONGOLIANThe Mongolian range with the Mongolian digits.MYANMARThe Myanmar range with the Myanmar digits.MYANMAR_SHANThe Myanmar range with the Myanmar Shan digits.MYANMAR_TAI_LAINGThe Myanmar Extended-B range with the Myanmar Tai Laing digits.NEW_TAI_LUEThe New Tai Lue range with the New Tai Lue digits.NKOThe N'Ko range with the N'Ko digits.OL_CHIKIThe Ol Chiki range with the Ol Chiki digits.ORIYAThe Oriya range with the Oriya digits.SAURASHTRAThe Saurashtra range with the Saurashtra digits.SINHALAThe Sinhala range with the Sinhala digits.SUNDANESEThe Sundanese range with the Sundanese digits.TAI_THAM_HORAThe Tai Tham Hora range with the Tai Tham Hora digits.TAI_THAM_THAMThe Tai Tham Tham range with the Tai Tham Tham digits.TAMILThe Tamil range with the Tamil digits.TELUGUThe Telugu range with the Telugu digits.THAIThe Thai range with the Thai digits.TIBETANThe Tibetan range with the Tibetan digits.VAIThe Vai range with the Vai digits.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static NumericShaper.RangevalueOf(String name)Returns the enum constant of this type with the specified name.static NumericShaper.Range[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
EUROPEANpublic static final NumericShaper.Range EUROPEAN The Latin (European) range with the Latin (ASCII) digits.
 - 
ARABICpublic static final NumericShaper.Range ARABIC The Arabic range with the Arabic-Indic digits.
 - 
EASTERN_ARABICpublic static final NumericShaper.Range EASTERN_ARABIC The Arabic range with the Eastern Arabic-Indic digits.
 - 
DEVANAGARIpublic static final NumericShaper.Range DEVANAGARI The Devanagari range with the Devanagari digits.
 - 
BENGALIpublic static final NumericShaper.Range BENGALI The Bengali range with the Bengali digits.
 - 
GURMUKHIpublic static final NumericShaper.Range GURMUKHI The Gurmukhi range with the Gurmukhi digits.
 - 
GUJARATIpublic static final NumericShaper.Range GUJARATI The Gujarati range with the Gujarati digits.
 - 
ORIYApublic static final NumericShaper.Range ORIYA The Oriya range with the Oriya digits.
 - 
TAMILpublic static final NumericShaper.Range TAMIL The Tamil range with the Tamil digits.
 - 
TELUGUpublic static final NumericShaper.Range TELUGU The Telugu range with the Telugu digits.
 - 
KANNADApublic static final NumericShaper.Range KANNADA The Kannada range with the Kannada digits.
 - 
MALAYALAMpublic static final NumericShaper.Range MALAYALAM The Malayalam range with the Malayalam digits.
 - 
THAIpublic static final NumericShaper.Range THAI The Thai range with the Thai digits.
 - 
LAOpublic static final NumericShaper.Range LAO The Lao range with the Lao digits.
 - 
TIBETANpublic static final NumericShaper.Range TIBETAN The Tibetan range with the Tibetan digits.
 - 
MYANMARpublic static final NumericShaper.Range MYANMAR The Myanmar range with the Myanmar digits.
 - 
ETHIOPICpublic 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.
 - 
KHMERpublic static final NumericShaper.Range KHMER The Khmer range with the Khmer digits.
 - 
MONGOLIANpublic static final NumericShaper.Range MONGOLIAN The Mongolian range with the Mongolian digits.
 - 
NKOpublic static final NumericShaper.Range NKO The N'Ko range with the N'Ko digits.
 - 
MYANMAR_SHANpublic static final NumericShaper.Range MYANMAR_SHAN The Myanmar range with the Myanmar Shan digits.
 - 
LIMBUpublic static final NumericShaper.Range LIMBU The Limbu range with the Limbu digits.
 - 
NEW_TAI_LUEpublic static final NumericShaper.Range NEW_TAI_LUE The New Tai Lue range with the New Tai Lue digits.
 - 
BALINESEpublic static final NumericShaper.Range BALINESE The Balinese range with the Balinese digits.
 - 
SUNDANESEpublic static final NumericShaper.Range SUNDANESE The Sundanese range with the Sundanese digits.
 - 
LEPCHApublic static final NumericShaper.Range LEPCHA The Lepcha range with the Lepcha digits.
 - 
OL_CHIKIpublic static final NumericShaper.Range OL_CHIKI The Ol Chiki range with the Ol Chiki digits.
 - 
VAIpublic static final NumericShaper.Range VAI The Vai range with the Vai digits.
 - 
SAURASHTRApublic static final NumericShaper.Range SAURASHTRA The Saurashtra range with the Saurashtra digits.
 - 
KAYAH_LIpublic static final NumericShaper.Range KAYAH_LI The Kayah Li range with the Kayah Li digits.
 - 
CHAMpublic static final NumericShaper.Range CHAM The Cham range with the Cham digits.
 - 
TAI_THAM_HORApublic static final NumericShaper.Range TAI_THAM_HORA The Tai Tham Hora range with the Tai Tham Hora digits.
 - 
TAI_THAM_THAMpublic static final NumericShaper.Range TAI_THAM_THAM The Tai Tham Tham range with the Tai Tham Tham digits.
 - 
JAVANESEpublic static final NumericShaper.Range JAVANESE The Javanese range with the Javanese digits.
 - 
MEETEI_MAYEKpublic static final NumericShaper.Range MEETEI_MAYEK The Meetei Mayek range with the Meetei Mayek digits.
 - 
SINHALApublic static final NumericShaper.Range SINHALA The Sinhala range with the Sinhala digits.- Since:
- 9
 
 - 
MYANMAR_TAI_LAINGpublic static final NumericShaper.Range MYANMAR_TAI_LAING The Myanmar Extended-B range with the Myanmar Tai Laing digits.- Since:
- 9
 
 
- 
 - 
Method Detail- 
valuespublic static NumericShaper.Range[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NumericShaper.Range c : NumericShaper.Range.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static NumericShaper.Range valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-