|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.demo.embed.EmbedDemo
org.foray.demo.embed.DemoAWTViewer
public class DemoAWTViewer
This class demonstrates the use of the AWT Viewer.
| Field Summary | |
|---|---|
static String |
TRANSLATION_PATH
Constant containing the path to the resources. |
| Constructor Summary | |
|---|---|
DemoAWTViewer()
Constructor. |
|
| Method Summary | |
|---|---|
protected PreviewDialog |
createPreviewDialog(AWTRenderer renderer,
Translator res)
Factory method for a PreviewDialog instance. |
static void |
main(String[] args)
Command-line interface for the viewer. |
void |
viewFO(URL fo)
Views an FO document. |
| Methods inherited from class org.foray.demo.embed.EmbedDemo |
|---|
getLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TRANSLATION_PATH
| Constructor Detail |
|---|
public DemoAWTViewer()
| Method Detail |
|---|
protected PreviewDialog createPreviewDialog(AWTRenderer renderer,
Translator res)
throws org.axsl.output.OutputException
renderer - The Renderer.res - The Translator resource.
org.axsl.output.OutputException - For errors loading resources.
public void viewFO(URL fo)
throws IOException,
FOrayException
fo - the FO document to view.
IOException - For I/O errors.
FOrayException - For errors during FOray processing.public static void main(String[] args)
args - Command-line arguments. This method currently uses none.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||