API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.font. NumericShaper View Source
Author(s)
Since
1.4
Version
Serial
Hierarchy
 Object
      NumericShaper
Implements
 Serializable
Subclasses
Description
publicfinal class NumericShaper
  The NumericShaper class is used to convert Latin-1 (European) digits to other Unicode decimal digits.
See also:   
Constructors
private NumericShaper (int key, int mask)
Private constructor.
Methods
Hide/Show inherited methods
public boolean equals (Object o)
  Returns true if the specified object is an instance of NumericShaper and shapes identically to this one.
publicstatic NumericShaper getContextualShaper (int ranges)
  Returns a contextual shaper for the provided unicode range(s).
publicstatic NumericShaper getContextualShaper (int ranges, int defaultContext)
  Returns a contextual shaper for the provided unicode range(s).
public int getRanges ()
  Returns an int that ORs together the values for all the ranges that will be shaped.
publicstatic NumericShaper getShaper (int singleRange)
  Returns a shaper for the provided unicode range.
public int hashCode ()
  Returns a hash code for this shaper.
public boolean isContextual ()
  Returns a boolean indicating whether or not this shaper shapes contextually.
public void shape (char[] text, int start, int count)
  Converts the digits in the text that occur between start and start + count.
public void shape (char[] text, int start, int count, int context)
  Converts the digits in the text that occur between start and start + count, using the provided context.
public String toString ()
  Returns a String that describes this shaper.
Fields
Hide/Show inherited fields
publicfinalstatic int ALL_RANGES = "524287"
Identifies all ranges, for full contextual shaping.
publicfinalstatic int ARABIC = "2"
Identifies the ARABIC range and decimal base.
publicfinalstatic int BENGALI = "16"
Identifies the BENGALI range and decimal base.
publicfinalstatic int DEVANAGARI = "8"
Identifies the DEVANAGARI range and decimal base.
publicfinalstatic int EASTERN_ARABIC = "4"
Identifies the ARABIC range and ARABIC_EXTENDED decimal base.
publicfinalstatic int ETHIOPIC = "65536"
Identifies the ETHIOPIC range and decimal base.
publicfinalstatic int EUROPEAN = "1"
Identifies the Latin-1 (European) and extended range, and Latin-1 (European) decimal base.
publicfinalstatic int GUJARATI = "64"
Identifies the GUJARATI range and decimal base.
publicfinalstatic int GURMUKHI = "32"
Identifies the GURMUKHI range and decimal base.
publicfinalstatic int KANNADA = "1024"
Identifies the KANNADA range and decimal base.
publicfinalstatic int KHMER = "131072"
Identifies the KHMER range and decimal base.
publicfinalstatic int LAO = "8192"
Identifies the LAO range and decimal base.
publicfinalstatic int MALAYALAM = "2048"
Identifies the MALAYALAM range and decimal base.
publicfinalstatic int MONGOLIAN = "262144"
Identifies the MONGOLIAN range and decimal base.
publicfinalstatic int MYANMAR = "32768"
Identifies the MYANMAR range and decimal base.
publicfinalstatic int ORIYA = "128"
Identifies the ORIYA range and decimal base.
publicfinalstatic int TAMIL = "256"
  Identifies the TAMIL range and decimal base.
publicfinalstatic int TELUGU = "512"
Identifies the TELUGU range and decimal base.
publicfinalstatic int THAI = "4096"
Identifies the THAI range and decimal base.
publicfinalstatic int TIBETAN = "16384"
Identifies the TIBETAN range and decimal base.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar