|
|||||||||
| Home >> All >> cgsuite >> [ plugin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
cgsuite.plugin
Interface OutputHandler

- public interface OutputHandler
Converts objects to Output suitable for display in the Combinatorial Game Suite user interface.
To add support for graphical or LaTeX output for your plug-in, declare an
instance of this interface using
PluginContext.registerOutputHandler 55 .
When the UI is ready to display an object whose type matches one of the
classes declared by your plug-in, it calls the associated
OutputHandler's
getOutput 55 method.
- Version:
- 0.1.1
| Method Summary | |
boolean |
canGetOutput(java.lang.Object obj,
OutputContext context)
Determines whether the specified object can be displayed using this output handler. |
Output |
getOutput(java.lang.Object obj,
OutputContext context)
Gets output corresponding to the specified object. |
| Method Detail |
canGetOutput
public boolean canGetOutput(java.lang.Object obj, OutputContext context)
- Determines whether the specified object can be displayed using this
output handler.
getOutput
public Output getOutput(java.lang.Object obj, OutputContext context)
- Gets output corresponding to the specified object.
|
|||||||||
| Home >> All >> cgsuite >> [ plugin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC