|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.planeth.common.gfx.ScrollingTextImagizer
Buffered Scrolling Textbox
Formats and animates a text within a predefined textBox.
The whole thing is rendered to an image.
| Constructor Summary | |
ScrollingTextImagizer(java.util.List stringList,
java.awt.Font font,
int width,
int height)
Constructor for ScrollingTextImagizer. |
|
| Method Summary | |
Vector2D |
getSize()
Returns the size of the rendered image |
java.awt.Image |
renderImage()
Returns the text formatted as a rendered image |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ScrollingTextImagizer(java.util.List stringList,
java.awt.Font font,
int width,
int height)
stringList - List with String items (each element is a row)font - the font for the scrolling textwidth - width of the generated imageheight - height of the generated image| Method Detail |
public java.awt.Image renderImage()
public Vector2D getSize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||