|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.Font.Typeface
An immutable representation of a type face.
A typeface may specify an alternate TypeFace object
in the event that the primary one is not available on a given
client. In this way, a chain of alternates may be created for
a very specific face, e.g.:
"Verdana->Arial->Helvetica->Sans-Serif"
| Constructor Summary | |
Font.Typeface(java.lang.String name)
Creates a new Typeface. |
|
Font.Typeface(java.lang.String name,
Font.Typeface alternate)
Creates a new Typeface. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
|
Font.Typeface |
getAlternate()
Returns the alternate typeface. |
java.lang.String |
getName()
Returns the name of the typeface. |
java.lang.String |
toString()
Renders a debug representation of the object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Font.Typeface(java.lang.String name)
Typeface.
name - the typeface name
public Font.Typeface(java.lang.String name,
Font.Typeface alternate)
Typeface.
name - the typeface namealternate - the alternate typeface which should be used, in
case the client does not support the specified typeface| Method Detail |
public boolean equals(java.lang.Object o)
Object.equals(java.lang.Object)public Font.Typeface getAlternate()
Typefacepublic java.lang.String getName()
public java.lang.String toString()
Object.toString()
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||