|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.view.image.ImageExportViewConfigurator
The class ImageExportViewConfigurator is used to configure
a VisualGraphView before it is rendered to an image using an
implementation of ImageExporter.
An instance of this class is created by passing a valid instance of
ImageExportConfiguration to the
constructor.
This class is usually used by an ImageExporter
where the method prepareView(VisualGraphView) is called before and
the method resetView(VisualGraphView) is called after the image has
been rendered.
| Constructor Summary | |
ImageExportViewConfigurator(ImageExportConfiguration config)
Constructor |
|
| Method Summary | |
ImageExportConfiguration |
getConfiguration()
Returns the configuration registered to this instance. |
Size |
prepareView(VisualGraphView visualgraphview)
Prepares the view to be rendered to an image using the registered configuration. |
void |
resetView(VisualGraphView visualgraphview)
Resets the view to it's former state. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImageExportViewConfigurator(ImageExportConfiguration config)
config - The configuration to use| Method Detail |
public Size prepareView(VisualGraphView visualgraphview)
visualgraphview - The VisualGraphView to prepare
public void resetView(VisualGraphView visualgraphview)
prepareView(VisualGraphView) has been called!
visualgraphview - The VisualGraphView that has been
previously altered by prepareView(VisualGraphView)public ImageExportConfiguration getConfiguration()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||