yext.export.module
Class EPSOutputModule

java.lang.Object
  extended by y.module.YModule
      extended by y.module.io.IOHandlerModule
          extended by yext.export.module.OutputModule
              extended by yext.export.module.EPSOutputModule

public class EPSOutputModule
extends OutputModule

Exports a diagram to a EPS document.

Provides an option dialog for specifying EPS export settings interactively.

 

Field Summary
static String MODULE_NAME
           
protected static String OPTION_TEXT_RENDERING_POLICY
           
protected static String TAB_EPS
           
protected static String VALUE_PLAIN_TEXT
           
protected static String VALUE_PLAIN_TEXT_WITH_EMBEDDED_FONTS
           
protected static String VALUE_VECTORIZED_TEXT
           
 
Fields inherited from class yext.export.module.OutputModule
OPTION_SELECTION_PAINTING, 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
EPSOutputModule()
          Initializes a new EPSOutputModule instance with the module name EPS_OUTPUT.
 
Method Summary
protected  void addEpsOptions(OptionHandler options)
          Adds EPS specific output options to the given option handler.
protected  IOHandler createIOHandler()
          Returns a new instance of EPSOutputHandler.
protected  OptionHandler createOptionHandler()
          Creates an option handler for EPS output.
protected  void mainrun()
          Exports the module's associated graph to a EPS document.
 
Methods inherited from class yext.export.module.OutputModule
addRenderingOptions, configureRendering
 
Methods inherited from class y.module.io.IOHandlerModule
addTilingOptions, addViewPortOptions, adoptRenderingHints, adoptViewPortOptions, configureViewPort, 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

MODULE_NAME

public static final String MODULE_NAME
See Also:
Constant Field Values

TAB_EPS

protected static final String TAB_EPS
See Also:
Constant Field Values

OPTION_TEXT_RENDERING_POLICY

protected static final String OPTION_TEXT_RENDERING_POLICY
See Also:
Constant Field Values

VALUE_PLAIN_TEXT

protected static final String VALUE_PLAIN_TEXT
See Also:
Constant Field Values

VALUE_PLAIN_TEXT_WITH_EMBEDDED_FONTS

protected static final String VALUE_PLAIN_TEXT_WITH_EMBEDDED_FONTS
See Also:
Constant Field Values

VALUE_VECTORIZED_TEXT

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

EPSOutputModule

public EPSOutputModule()
Initializes a new EPSOutputModule instance with the module name EPS_OUTPUT.

Method Detail

addEpsOptions

protected void addEpsOptions(OptionHandler options)
Adds EPS specific output options to the given option handler.


createIOHandler

protected IOHandler createIOHandler()
Returns a new instance of EPSOutputHandler.

Specified by:
createIOHandler in class IOHandlerModule
Returns:
a new instance of EPSOutputHandler.

createOptionHandler

protected OptionHandler createOptionHandler()
Creates an option handler for EPS output.

Calls addEpsOptions(OptionHandler).

Overrides:
createOptionHandler in class OutputModule
Returns:
an option handler for EPS output.

mainrun

protected void mainrun()
Exports the module's associated graph to a EPS document.

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


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