ch.randelshofer.quaqua.util
Class ScriptSystem
java.lang.Object
ch.randelshofer.quaqua.util.ScriptSystem
public class ScriptSystem
- extends java.lang.Object
Constants for the script systems supported by Unicode.
- Version:
- $Id: ScriptSystem.java 363 2010-11-21 17:41:04Z wrandelshofer $
- Author:
- Werner Randelshofer
Field Summary |
static int |
ARABIC
Script systems. |
static int |
ARMENIAN
Script systems. |
static int |
BENGALI
Script systems. |
static int |
BOPOMOFO
Script systems. |
static int |
CANADIAN_SYLLABICS
Script systems. |
static int |
CHEROKEE
Script systems. |
static int |
COPTIC
Script systems. |
static int |
CYRILLIC
Script systems. |
static int |
DESERET
Script systems. |
static int |
DEVANAGARI
Script systems. |
static int |
ETHIOPIC
Script systems. |
static int |
GEORGIAN
Script systems. |
static int |
GREEK
Script systems. |
static int |
GUJARATI
Script systems. |
static int |
GURMUKHI
Script systems. |
static int |
HAN
Script systems. |
static int |
HANGUL
Script systems. |
static int |
HEBREW
Script systems. |
static int |
HIRAGANA
Script systems. |
static int |
KANNADA
Script systems. |
static int |
KATAKANA
Script systems. |
static int |
KHMER
Script systems. |
static int |
LAO
Script systems. |
static int |
LATIN
Script systems. |
static int |
LIMBU
Script systems. |
static int |
MALAYALAM
Script systems. |
static int |
MONGOLIAN
Script systems. |
static int |
MYANMAR
Script systems. |
static int |
ORIYA
Script systems. |
static int |
OSMANYA
Script systems. |
static int |
RUNIC
Script systems. |
static int |
SHAVIAN
Script systems. |
static int |
SINHALA
Script systems. |
static int |
SYRIAC
Script systems. |
static int |
TAI_LE
Script systems. |
static int |
TAMIL
Script systems. |
static int |
TELUGU
Script systems. |
static int |
THAANA
Script systems. |
static int |
THAI
Script systems. |
static int |
TIBETAN
Script systems. |
static int |
TIFINAGH
Script systems. |
static int |
YI
Script systems. |
Method Summary |
static int |
getBaseline(int system)
Returns the baseline of the specified script system. |
static char |
getMeasurementChar(int system)
Returns the best character of the specified script system
for measuring perceived ascent and perceived descent of the
script. |
static int |
getScriptSystemOf(char ch)
Returns the script system of the specified char. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARMENIAN
public static final int ARMENIAN
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
COPTIC
public static final int COPTIC
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
CYRILLIC
public static final int CYRILLIC
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
GEORGIAN
public static final int GEORGIAN
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
GREEK
public static final int GREEK
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
LATIN
public static final int LATIN
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
ETHIOPIC
public static final int ETHIOPIC
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
TIFINAGH
public static final int TIFINAGH
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
ARABIC
public static final int ARABIC
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
HEBREW
public static final int HEBREW
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
SYRIAC
public static final int SYRIAC
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
THAANA
public static final int THAANA
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
CANADIAN_SYLLABICS
public static final int CANADIAN_SYLLABICS
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
CHEROKEE
public static final int CHEROKEE
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
DESERET
public static final int DESERET
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
SHAVIAN
public static final int SHAVIAN
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
OSMANYA
public static final int OSMANYA
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
BENGALI
public static final int BENGALI
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
DEVANAGARI
public static final int DEVANAGARI
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
GUJARATI
public static final int GUJARATI
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
GURMUKHI
public static final int GURMUKHI
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
KANNADA
public static final int KANNADA
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
LIMBU
public static final int LIMBU
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
MALAYALAM
public static final int MALAYALAM
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
ORIYA
public static final int ORIYA
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
SINHALA
public static final int SINHALA
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
TAMIL
public static final int TAMIL
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
TELUGU
public static final int TELUGU
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
KHMER
public static final int KHMER
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
LAO
public static final int LAO
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
MYANMAR
public static final int MYANMAR
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
TAI_LE
public static final int TAI_LE
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
THAI
public static final int THAI
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
HAN
public static final int HAN
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
BOPOMOFO
public static final int BOPOMOFO
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
HIRAGANA
public static final int HIRAGANA
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
KATAKANA
public static final int KATAKANA
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
HANGUL
public static final int HANGUL
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
YI
public static final int YI
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
MONGOLIAN
public static final int MONGOLIAN
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
TIBETAN
public static final int TIBETAN
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
RUNIC
public static final int RUNIC
- Script systems. The ID of the script system is the lowest
Unicode character code of the script system.
- See Also:
- Constant Field Values
getScriptSystemOf
public static int getScriptSystemOf(char ch)
- Returns the script system of the specified char.
If the script system can not be determined, LATIN is
returned.
getMeasurementChar
public static char getMeasurementChar(int system)
- Returns the best character of the specified script system
for measuring perceived ascent and perceived descent of the
script.
getBaseline
public static int getBaseline(int system)
- Returns the baseline of the specified script system.
java.awt.Font.ROMAN_BASELINE, CENTER_BASELINE or HANGING_BASELINE