Package org.graphstream.ui.swing.util
Class SwingFileSinkImages
java.lang.Object
org.graphstream.stream.file.FileSinkImages
org.graphstream.ui.swing.util.SwingFileSinkImages
- All Implemented Interfaces:
org.graphstream.stream.AttributeSink,org.graphstream.stream.ElementSink,org.graphstream.stream.file.FileSink,org.graphstream.stream.Sink
public class SwingFileSinkImages
extends org.graphstream.stream.file.FileSinkImages
-
Nested Class Summary
Nested classes/interfaces inherited from class org.graphstream.stream.file.FileSinkImages
org.graphstream.stream.file.FileSinkImages.InnerLayoutRunner, org.graphstream.stream.file.FileSinkImages.LayoutPolicy, org.graphstream.stream.file.FileSinkImages.Option, org.graphstream.stream.file.FileSinkImages.OutputPolicy, org.graphstream.stream.file.FileSinkImages.OutputRunner, org.graphstream.stream.file.FileSinkImages.OutputType, org.graphstream.stream.file.FileSinkImages.Quality -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Graphics2Dprotected BufferedImageprotected SwingGraphRendererFields inherited from class org.graphstream.stream.file.FileSinkImages
autofit, clearImageBeforeOutput, counter, filePrefix, filters, gg, hasBegun, layout, layoutPipeIn, layoutPolicy, layoutStabilizationLimit, layoutStepAfterStabilization, layoutStepPerFrame, layoutStepWithoutFrame, optLayout, outputPolicy, outputRunner, outputRunnerAlive, outputRunnerDelay, outputRunnerProxy, outputType, resolution, sink, styleSheet -
Constructor Summary
ConstructorsConstructorDescriptionSwingFileSinkImages(org.graphstream.stream.file.FileSinkImages.OutputType outputType, org.graphstream.stream.file.images.Resolution resolution) SwingFileSinkImages(org.graphstream.stream.file.FileSinkImages.OutputType type, org.graphstream.stream.file.images.Resolution resolution, org.graphstream.stream.file.FileSinkImages.OutputPolicy outputPolicy) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclearImage(int color) protected org.graphstream.ui.view.camera.Cameraprotected BufferedImageprotected voidprotected voidrender()Methods inherited from class org.graphstream.stream.file.FileSinkImages
addFilter, begin, begin, begin, clearGG, createDefault, edgeAdded, edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, edgeRemoved, end, flush, getViewCenter, getViewPercent, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, graphCleared, main, nodeAdded, nodeAttributeAdded, nodeAttributeChanged, nodeAttributeRemoved, nodeRemoved, outputNewImage, outputNewImage, printProgress, removeFilter, setAutofit, setClearImageBeforeOutputEnabled, setGraphViewport, setLayoutPolicy, setLayoutStabilizationLimit, setLayoutStepAfterStabilization, setLayoutStepPerFrame, setOutputPolicy, setOutputRunnerDelay, setOutputRunnerEnabled, setOutputType, setQuality, setResolution, setResolution, setStyleSheet, setViewCenter, setViewPercent, stabilizeLayout, stepBegins, usage, writeAll, writeAll, writeAll, writeImage
-
Field Details
-
image
-
g2d
-
renderer
-
-
Constructor Details
-
SwingFileSinkImages
public SwingFileSinkImages() -
SwingFileSinkImages
public SwingFileSinkImages(org.graphstream.stream.file.FileSinkImages.OutputType outputType, org.graphstream.stream.file.images.Resolution resolution) -
SwingFileSinkImages
public SwingFileSinkImages(org.graphstream.stream.file.FileSinkImages.OutputType type, org.graphstream.stream.file.images.Resolution resolution, org.graphstream.stream.file.FileSinkImages.OutputPolicy outputPolicy)
-
-
Method Details
-
getCamera
protected org.graphstream.ui.view.camera.Camera getCamera()- Specified by:
getCamerain classorg.graphstream.stream.file.FileSinkImages
-
render
protected void render()- Specified by:
renderin classorg.graphstream.stream.file.FileSinkImages
-
getRenderedImage
- Specified by:
getRenderedImagein classorg.graphstream.stream.file.FileSinkImages
-
initImage
protected void initImage()- Specified by:
initImagein classorg.graphstream.stream.file.FileSinkImages
-
clearImage
protected void clearImage(int color) - Specified by:
clearImagein classorg.graphstream.stream.file.FileSinkImages
-