|
Jacson | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RenderMode
A RenderMode cares about how to forward tournament information
to whatever output channel.
This could have been a set of controls in a GUI or some Model in
general MVC context. Out of the box we have some HTML rendering.
$URL: https://svn.sourceforge.net/svnroot/jtourney/src/de/spieleck/app/turn/RenderMode.java $
Method Summary | |
---|---|
void |
addSource(java.lang.String fName)
Tell the RenderMode, which Sourcefiles have been considered. |
void |
endSession()
To enable reuse of the same renderer, it gets informed about starting and ending of a complete block of information. |
void |
render(long timestamp,
java.lang.Object o,
java.lang.String fileName,
java.lang.String style,
int round)
A render method which can avoid superfluous work by skipping depending on a timestamp. |
void |
render(java.lang.Object o,
java.lang.String fileName,
java.lang.String style,
int round)
API in case we do not have an appropriate timestamp. |
void |
setRoot(java.io.File root)
Set a root directory, in case the RenderMode has to write files. |
void |
startSession()
To enable reuse of the same renderer, it gets informed about starting and ending of a complete block of information. |
Methods inherited from interface de.spieleck.app.turn.LineSourceInited |
---|
init |
Method Detail |
---|
void setRoot(java.io.File root)
void startSession() throws java.io.IOException
java.io.IOException
void endSession() throws java.io.IOException
java.io.IOException
void addSource(java.lang.String fName)
void render(long timestamp, java.lang.Object o, java.lang.String fileName, java.lang.String style, int round) throws java.io.IOException
java.io.IOException
void render(java.lang.Object o, java.lang.String fileName, java.lang.String style, int round) throws java.io.IOException
java.io.IOException
|
spieleck.de | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |