| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.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 java.lang.String | OPTION_SELECTION_PAINTING | 
| Fields inherited from class y.module.YModule | 
|---|
| FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS | 
| Constructor Summary | |
|---|---|
| protected  | ImageOutputModule(java.lang.String name)Creates a new instance of ImageOutputModule. | 
| protected  | ImageOutputModule(java.lang.String name,
                  java.lang.String author,
                  java.lang.String description)Deprecated. Use ImageOutputModule(String)instead.
 Proper module description should take place in the API documentation. | 
| Method Summary | |
|---|---|
| protected  void | addRenderingOptions(OptionHandler options)Adds rendering specific options to the given option handler instance. | 
| protected  void | configureRendering()Configures the module's ImageOutputHandleraccording
 to the settings in the module's rendering specific options. | 
| protected  void | configureTiling()Configures the module's ImageOutputHandlerfor tiling
 according to the tiling specific options. | 
| protected  void | configureViewPort(Graph2DView viewPort,
                  Graph2DView originalView)Configures the given view port. | 
| protected abstract  ImageOutputHandler | createImageOutputHandler()Creates an ImageOutputHandlerinstance that is used for
 image export. | 
| protected  IOHandler | createIOHandler()Returns an ImageOutputHandlerinstance. | 
| Methods inherited from class y.module.io.IOHandlerModule | 
|---|
| addTilingOptions, addViewPortOptions, adoptRenderingHints, adoptViewPortOptions, getIOHandler, getIOMode, getURL, mainrun, setIOHandler, setIOMode, setURL | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static final java.lang.String OPTION_SELECTION_PAINTING
| Constructor Detail | 
|---|
protected ImageOutputModule(java.lang.String name,
                            java.lang.String author,
                            java.lang.String description)
ImageOutputModule(String) instead.
 Proper module description should take place in the API documentation.
ImageOutputModule.
name - the module's nameauthor - the module's authordescription - a short description of the module's functionalityprotected ImageOutputModule(java.lang.String name)
ImageOutputModule.
name - the module's name| Method Detail | 
|---|
protected void addRenderingOptions(OptionHandler options)
options - the option handler instance.configureRendering()
protected void configureViewPort(Graph2DView viewPort,
                                 Graph2DView originalView)
This implementation turns off anti-aliasing for the given view port before calling the super implementation.
configureViewPort in class IOHandlerModuleviewPort - the Graph2DView used for exporting.originalView - the exported graph's current view.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 IOHandlerModuleImageOutputHandler instance.protected abstract ImageOutputHandler createImageOutputHandler()
ImageOutputHandler instance that is used for
 image export.
ImageOutputHandler instance| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||