|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lowagie.text.SpecialSymbol
public class SpecialSymbol
This class contains the symbols that correspond with special symbols.
When you construct a Phrase
with Phrase.getInstance using a String
,
this String
can contain special Symbols. These are characters with an int value
between 913 and 937 (except 930) and between 945 and 969. With this class the value of the
corresponding character of the Font Symbol, can be retrieved.
Phrase
Constructor Summary | |
---|---|
SpecialSymbol()
|
Method Summary | |
---|---|
static Chunk |
get(char c,
Font font)
Gets a chunk with a symbol character. |
static char |
getCorrespondingSymbol(char c)
Looks for the corresponding symbol in the font Symbol. |
static int |
index(java.lang.String string)
Returns the first occurrence of a special symbol in a String . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpecialSymbol()
Method Detail |
---|
public static int index(java.lang.String string)
String
.
string
- a String
public static Chunk get(char c, Font font)
c
- a character that has to be changed into a symbolfont
- Font if there is no SYMBOL character corresponding with c
public static char getCorrespondingSymbol(char c)
c
- the original ASCII-char
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |