org.foray.app
Class AWTStarter

java.lang.Object
  extended by org.foray.app.Starter
      extended by org.foray.app.CommandLineStarter
          extended by org.foray.app.AWTStarter

public class AWTStarter
extends CommandLineStarter

Starter for the AWT viewer.


Constructor Summary
AWTStarter(SessionConfig sessionConfig, OutputConfig renderConfig, CommandLineOptions commandLineOptions)
          Constructor.
 
Method Summary
protected  PreviewDialog createPreviewDialog(AWTRenderer renderer, Translator res)
          Creates a new preview dialog.
 void run()
          Runs the process.
 
Methods inherited from class org.foray.app.CommandLineStarter
getCommandLineOptions, getInputSource
 
Methods inherited from class org.foray.app.Starter
getLogger, getOptions, getOutputConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWTStarter

public AWTStarter(SessionConfig sessionConfig,
                  OutputConfig renderConfig,
                  CommandLineOptions commandLineOptions)
           throws FOrayException
Constructor.

Parameters:
sessionConfig - The session configuration.
renderConfig - The output configuration.
commandLineOptions - The command-line options.
Throws:
FOrayException - For errors during construction.
Method Detail

run

public void run()
         throws FOrayException
Description copied from class: Starter
Runs the process.

Overrides:
run in class CommandLineStarter
Throws:
FOrayException - For errors during processing.

createPreviewDialog

protected PreviewDialog createPreviewDialog(AWTRenderer renderer,
                                            Translator res)
                                     throws org.axsl.output.OutputException
Creates a new preview dialog.

Parameters:
renderer - The rendere.
res - The language resources.
Returns:
The newly-created preview dialog.
Throws:
org.axsl.output.OutputException - For errors loading resources.


Copyright © 2017. All rights reserved.