|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.app.Font.Typeface
public static class Font.Typeface
An immutable representation of a type face.
A type face 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 type face namepublic Font.Typeface(java.lang.String name, Font.Typeface alternate)
Typeface
.
name
- the type face namealternate
- the alternate type face which should be used, in
case the client does not support the specified type faceMethod Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public Font.Typeface getAlternate()
Typeface
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |