|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.module.YModule y.module.io.IOHandlerModule y.module.io.ImageOutputModule
public abstract class ImageOutputModule
Abstract base class for all modules that export a diagram to an image file.
Field Summary | |
---|---|
protected static String |
OPTION_SELECTION_PAINTING
|
Fields inherited from class y.module.YModule |
---|
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS |
Constructor Summary | |
---|---|
protected |
ImageOutputModule(String name,
String author,
String description)
|
Method Summary | |
---|---|
protected void |
addRenderingOptions(OptionHandler options)
Adds rendering specific options to the given option handler instance. |
protected void |
configureRendering()
Configures the module's ImageOutputHandler according
to the settings in the module's rendering specific options. |
protected void |
configureTiling()
Configures the module's ImageOutputHandler for tiling
according to the tiling specific options. |
protected abstract ImageOutputHandler |
createImageOutputHandler()
Creates an ImageOutputHandler instance that is used for
image export. |
protected IOHandler |
createIOHandler()
Returns an ImageOutputHandler instance. |
Methods inherited from class y.module.io.IOHandlerModule |
---|
addTilingOptions, addViewPortOptions, adoptViewPortOptions, configureViewPort, getIOHandler, getIOMode, getURL, mainrun, setIOHandler, setIOMode, setURL |
Methods inherited from class y.module.YModule |
---|
addModuleListener, createOptionHandler, createThread, dispose, exceptionHappened, fitGraph2DView, getAuthor, getDescription, getExitStatus, getGraph2D, getGraph2DView, getModuleName, getOptionHandler, getTimer, getView, init, 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 |
---|
protected static final String OPTION_SELECTION_PAINTING
Constructor Detail |
---|
protected ImageOutputModule(String name, String author, String description)
Method Detail |
---|
protected void addRenderingOptions(OptionHandler options)
options
- the option handler instance.configureRendering()
protected void configureRendering()
ImageOutputHandler
according
to the settings in the module's rendering specific options.
addRenderingOptions(y.option.OptionHandler)
protected void configureTiling()
ImageOutputHandler
for tiling
according to the tiling specific options.
protected IOHandler createIOHandler()
ImageOutputHandler
instance.
createIOHandler
in class IOHandlerModule
ImageOutputHandler
instance.protected abstract ImageOutputHandler createImageOutputHandler()
ImageOutputHandler
instance that is used for
image export.
ImageOutputHandler
instance
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |