com.fluendo.jtiger

Class Renderer

public class Renderer extends Object

Method Summary
voidadd(Event ev)
Add a new event to the renderer.
voidflush()
Flushes all events.
booleanisDirty()
Imagerender(Component c, Image img)
Renders onto the given image.
intupdate(Component c, Dimension d, double t)
Update the renderer, and all the events it tracks.

Method Detail

add

public void add(Event ev)
Add a new event to the renderer.

flush

public void flush()
Flushes all events.

isDirty

public boolean isDirty()

render

public Image render(Component c, Image img)
Renders onto the given image.

update

public int update(Component c, Dimension d, double t)
Update the renderer, and all the events it tracks. Returns 1 if there is nothing to draw, as an optimization