|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsampleai.Inspector.StringRenderer
| Method Summary | |
abstract java.lang.String |
getString(int tileIndex)
|
void |
prepareRenderingOn(java.awt.Graphics2D gr)
Is called once before rendering, perform initialization, setting Fonts,Colors or whatever is required to prepare the Graphics. |
void |
render(java.awt.Graphics2D gr,
int x,
int y,
int tileIndex)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public abstract java.lang.String getString(int tileIndex)
public void prepareRenderingOn(java.awt.Graphics2D gr)
TileRenderer
prepareRenderingOn in interface TileRenderergr - the graphics to render on
public void render(java.awt.Graphics2D gr,
int x,
int y,
int tileIndex)
render in interface TileRenderergr - the graphics to render onx - the leftmost pixel of the tiley - the topmost pixel of the tiletileIndex - the index of the tile
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||