|
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 y.module.io.ImageIoOutput
public class ImageIoOutput
Exports a diagram to an image using ImageWriter
.
This module provides an option dialog that offers
the possibility to modify the settings interactively.
Field Summary |
---|
Fields inherited from class y.module.io.ImageOutputModule |
---|
OPTION_SELECTION_PAINTING |
Fields inherited from class y.module.YModule |
---|
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS |
Constructor Summary | |
---|---|
ImageIoOutput(javax.imageio.ImageWriter iWriter)
Creates a new instance of ImageIoOutput. |
Method Summary | |
---|---|
protected ImageOutputHandler |
createImageOutputHandler()
Returns a new instance of ImageIoOutputHandler for the ImageWriter of this
class. |
protected OptionHandler |
createOptionHandler()
Creates an option handler for this class. |
protected boolean |
isTransparentBackgroundSupported()
Callback method that determines whether the option for the transparent background is displayed or not. |
protected void |
mainrun()
Reads or writes a diagram in a specific format to a file. |
Methods inherited from class y.module.io.ImageOutputModule |
---|
addRenderingOptions, configureRendering, configureTiling, configureViewPort, createIOHandler |
Methods inherited from class y.module.io.IOHandlerModule |
---|
addTilingOptions, addViewPortOptions, adoptRenderingHints, adoptViewPortOptions, 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 |
Constructor Detail |
---|
public ImageIoOutput(javax.imageio.ImageWriter iWriter)
Method Detail |
---|
protected boolean isTransparentBackgroundSupported()
true
if the for the transparent background is displayed and false
otherwise.protected OptionHandler createOptionHandler()
YModule
createOptionHandler
in class YModule
null
by default.protected ImageOutputHandler createImageOutputHandler()
ImageIoOutputHandler
for the ImageWriter
of this
class.
createImageOutputHandler
in class ImageOutputModule
ImageOutputHandler
instanceprotected void mainrun()
IOHandlerModule
mainrun
in class IOHandlerModule
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |