|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NumericShaper.Range> java.awt.font.NumericShaper.Range
public static enum NumericShaper.Range
Disabled: no SafeJ information.
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:
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);
Enum Constant Summary | |
---|---|
ARABIC
The Arabic range with the Arabic-Indic digits. |
|
BALINESE
The Balinese range with the Balinese digits. |
|
BENGALI
The Bengali range with the Bengali digits. |
|
CHAM
The Cham range with the Cham digits. |
|
DEVANAGARI
The Devanagari range with the Devanagari digits. |
|
EASTERN_ARABIC
The Arabic range with the Eastern Arabic-Indic digits. |
|
ETHIOPIC
The Ethiopic range with the Ethiopic digits. |
|
EUROPEAN
The Latin (European) range with the Latin (ASCII) digits. |
|
GUJARATI
The Gujarati range with the Gujarati digits. |
|
GURMUKHI
The Gurmukhi range with the Gurmukhi digits. |
|
KANNADA
The Kannada range with the Kannada digits. |
|
KAYAH_LI
The Kayah Li range with the Kayah Li digits. |
|
KHMER
The Khmer range with the Khmer digits. |
|
LAO
The Lao range with the Lao digits. |
|
LEPCHA
The Lepcha range with the Lepcha digits. |
|
LIMBU
The Limbu range with the Limbu digits. |
|
MALAYALAM
The Malayalam range with the Malayalam digits. |
|
MONGOLIAN
The Mongolian range with the Mongolian digits. |
|
MYANMAR
The Myanmar range with the Myanmar digits. |
|
MYANMAR_SHAN
The Myanmar range with the Myanmar Shan digits. |
|
NEW_TAI_LUE
The New Tai Lue range with the New Tai Lue digits. |
|
NKO
The N'Ko range with the N'Ko digits. |
|
OL_CHIKI
The Ol Chiki range with the Ol Chiki digits. |
|
ORIYA
The Oriya range with the Oriya digits. |
|
SAURASHTRA
The Saurashtra range with the Saurashtra digits. |
|
SUNDANESE
The Sundanese range with the Sundanese digits. |
|
TAMIL
The Tamil range with the Tamil digits. |
|
TELUGU
The Telugu range with the Telugu digits. |
|
THAI
The Thai range with the Thai digits. |
|
TIBETAN
The Tibetan range with the Tibetan digits. |
|
VAI
The Vai range with the Vai digits. |
Method Summary | |
---|---|
static NumericShaper.Range |
valueOf(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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NumericShaper.Range EUROPEAN
public static final NumericShaper.Range ARABIC
public static final NumericShaper.Range EASTERN_ARABIC
public static final NumericShaper.Range DEVANAGARI
public static final NumericShaper.Range BENGALI
public static final NumericShaper.Range GURMUKHI
public static final NumericShaper.Range GUJARATI
public static final NumericShaper.Range ORIYA
public static final NumericShaper.Range TAMIL
public static final NumericShaper.Range TELUGU
public static final NumericShaper.Range KANNADA
public static final NumericShaper.Range MALAYALAM
public static final NumericShaper.Range THAI
public static final NumericShaper.Range LAO
public static final NumericShaper.Range TIBETAN
public static final NumericShaper.Range MYANMAR
public static final NumericShaper.Range ETHIOPIC
public static final NumericShaper.Range KHMER
public static final NumericShaper.Range MONGOLIAN
public static final NumericShaper.Range NKO
public static final NumericShaper.Range MYANMAR_SHAN
public static final NumericShaper.Range LIMBU
public static final NumericShaper.Range NEW_TAI_LUE
public static final NumericShaper.Range BALINESE
public static final NumericShaper.Range SUNDANESE
public static final NumericShaper.Range LEPCHA
public static final NumericShaper.Range OL_CHIKI
public static final NumericShaper.Range VAI
public static final NumericShaper.Range SAURASHTRA
public static final NumericShaper.Range KAYAH_LI
public static final NumericShaper.Range CHAM
Method Detail |
---|
public static NumericShaper.Range[] values()
for (NumericShaper.Range c : NumericShaper.Range.values()) System.out.println(c);
public static NumericShaper.Range valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |