|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapps.lightrays.gfxlib.DrawableElement
apps.lightrays.gfxlib.DrawableString
public class DrawableString
The Class DrawableString.
Constructor Summary | |
---|---|
DrawableString(java.lang.String s)
Instantiates a new drawable string. |
Method Summary | |
---|---|
void |
draw(java.awt.Graphics2D gfx,
long tick_count)
Draw. |
java.awt.Font |
getFont()
Gets the font. |
java.lang.String |
getString()
Gets the string. |
void |
setFont(java.awt.Font font)
Sets the font. |
void |
setString(java.lang.String s)
Sets the string. |
Methods inherited from class apps.lightrays.gfxlib.DrawableElement |
---|
getC, getOpacity, getX, getY, getZ, setC, setOpacity, setX, setY, setZ |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DrawableString(java.lang.String s)
s
- the sMethod Detail |
---|
public void draw(java.awt.Graphics2D gfx, long tick_count)
DrawableElement
draw
in class DrawableElement
gfx
- the gfxtick_count
- the tick_countpublic java.awt.Font getFont()
public java.lang.String getString()
public void setFont(java.awt.Font font)
font
- the new fontpublic void setString(java.lang.String s)
s
- the new string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |