yext.export.module
Class OutputModule

java.lang.Object
  extended by y.module.YModule
      extended by y.module.io.IOHandlerModule
          extended by yext.export.module.OutputModule
Direct Known Subclasses:
EMFOutputModule, EPSOutputModule, PDFOutputModule, SWFOutputModule

public abstract class OutputModule
extends IOHandlerModule

Abstract base class for EMF, EPS, PDF, and SWF output.

 

Field Summary
protected static String OPTION_SELECTION_PAINTING
           
protected static String TAB_IMAGE
           
 
Fields inherited from class y.module.io.IOHandlerModule
INPUT_MODE, OPTION_CLIP_GRAPH, OPTION_CLIP_TYPE, OPTION_CLIP_VIEW, OPTION_CUSTOM_HEIGHT, OPTION_CUSTOM_WIDTH, OPTION_GENERATE_HTML_TABLE, OPTION_MARGIN, OPTION_SCALING_FACTOR, OPTION_SIZE_TYPE, OPTION_SIZE_USE_CUSTOM_HEIGHT, OPTION_SIZE_USE_CUSTOM_WIDTH, OPTION_SIZE_USE_ORIGINAL, OPTION_TILE_COLUMN_COUNT, OPTION_TILE_ROW_COUNT, OPTION_TILING_ACTIVE, OUTPUT_MODE, TAB_TILING, TAB_VIEWPORT, vpc
 
Fields inherited from class y.module.YModule
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS
 
Constructor Summary
protected OutputModule(String moduleName)
          Initializes a new OutputModule instance.
 
Method Summary
protected  void addRenderingOptions(OptionHandler options)
          Adds rendering specific options to the given option handler instance.
protected  void configureRendering()
          Configures the module's OutputHandler according to the settings in the module's rendering specific options.
protected  OptionHandler createOptionHandler()
          Creates an option handler for EMF, EPS, PDF, and SWF output.
protected  void mainrun()
          Exports the module's associated graph to either EMF, EPS, PDF, or SWF format.
 
Methods inherited from class y.module.io.IOHandlerModule
addTilingOptions, addViewPortOptions, adoptRenderingHints, adoptViewPortOptions, configureViewPort, createIOHandler, getIOHandler, getIOMode, getURL, setIOHandler, setIOMode, setURL
 
Methods inherited from class y.module.YModule
addModuleListener, createThread, dispose, exceptionHappened, fitGraph2DView, getAuthor, getDescription, getExitStatus, getGraph2D, getGraph2DView, getModuleListeners, getModuleName, getOptionHandler, getTimer, getView, init, initGuiFactory, isAbortable, isBackupRealizersEnabled, removeModuleListener, run, setBackupRealizersEnabled, setExitStatus, setGraph2D, setModuleName, setOptionHandler, start, startAsThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPTION_SELECTION_PAINTING

protected static final String OPTION_SELECTION_PAINTING
See Also:
Constant Field Values

TAB_IMAGE

protected static final String TAB_IMAGE
See Also:
Constant Field Values
Constructor Detail

OutputModule

protected OutputModule(String moduleName)
Initializes a new OutputModule instance.

Parameters:
moduleName - the module name.
Method Detail

addRenderingOptions

protected void addRenderingOptions(OptionHandler options)
Adds rendering specific options to the given option handler instance.

Parameters:
options - the option handler instance.
See Also:
configureRendering()

configureRendering

protected void configureRendering()
Configures the module's OutputHandler according to the settings in the module's rendering specific options.

See Also:
addRenderingOptions(y.option.OptionHandler)

createOptionHandler

protected OptionHandler createOptionHandler()
Creates an option handler for EMF, EPS, PDF, and SWF output.

Overrides:
createOptionHandler in class YModule
Returns:
an option handler for EMF, EPS, PDF, and SWF output.

mainrun

protected void mainrun()
Exports the module's associated graph to either EMF, EPS, PDF, or SWF format.

Overrides:
mainrun in class IOHandlerModule
See Also:
IOHandlerModule.getIOHandler()


© Copyright 2007-2015,
yWorks GmbH.
All rights reserved.