yext.svg.module
Class OutputModule
java.lang.Object
y.module.YModule
y.module.io.IOHandlerModule
yext.svg.module.OutputModule
- Direct Known Subclasses:
- SVGOutput, SVGZOutput
public abstract class OutputModule
- extends IOHandlerModule
Abstract base class for SVG and SVGZ output.
-
-
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 |
Constructor Summary |
protected |
OutputModule(String name)
Initializes a new OutputModule instance. |
Method Summary |
protected OptionHandler |
createOptionHandler()
Creates an option handler for SVG and SVGZ output. |
protected void |
mainrun()
Exports the module's associated graph to a (compressed) SVG document. |
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 |
OutputModule
protected OutputModule(String name)
- Initializes a new
OutputModule
instance.
- Parameters:
name
- the module name.
createOptionHandler
protected OptionHandler createOptionHandler()
- Creates an option handler for SVG and SVGZ output.
- Overrides:
createOptionHandler
in class YModule
- Returns:
- an option handler for SVG and SVGZ output.
mainrun
protected void mainrun()
- Exports the module's associated graph to a (compressed) SVG document.
- Overrides:
mainrun
in class IOHandlerModule
- See Also:
IOHandlerModule.getIOHandler()