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

    Fields
    Modifier and Type
    Field
    Description
    protected Graphics2D
     
    protected BufferedImage
     
     

    Fields 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

    Constructors
    Constructor
    Description
     
    SwingFileSinkImages(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 Type
    Method
    Description
    protected void
    clearImage(int color)
     
    protected org.graphstream.ui.view.camera.Camera
     
    protected BufferedImage
     
    protected void
     
    protected void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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:
      getCamera in class org.graphstream.stream.file.FileSinkImages
    • render

      protected void render()
      Specified by:
      render in class org.graphstream.stream.file.FileSinkImages
    • getRenderedImage

      protected BufferedImage getRenderedImage()
      Specified by:
      getRenderedImage in class org.graphstream.stream.file.FileSinkImages
    • initImage

      protected void initImage()
      Specified by:
      initImage in class org.graphstream.stream.file.FileSinkImages
    • clearImage

      protected void clearImage(int color)
      Specified by:
      clearImage in class org.graphstream.stream.file.FileSinkImages