|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.client.gui.FAFile
public class FAFile
Represents the data within a Font Animation File.
DeclarationDialog
Constructor Summary | |
---|---|
FAFile(java.io.InputStream is)
Reads data from the given InputStream and
creates an object to represent this data. |
Method Summary | |
---|---|
java.awt.Dimension |
getDimension(java.lang.String text)
Gets the Dimension of the given
String when rendered. |
java.awt.Point[] |
getPoints(java.lang.String text)
Gets the points to display the given text as an animation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FAFile(java.io.InputStream is) throws java.io.IOException
InputStream
and
creates an object to represent this data.
is
- The InputStream
java.io.IOException
- gets thrown if the data is invalid.Method Detail |
---|
public java.awt.Dimension getDimension(java.lang.String text)
Dimension
of the given
String
when rendered.
text
- The String
.
Dimension
.public java.awt.Point[] getPoints(java.lang.String text)
text
- The text to get the points for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |