th.co.edge.jseq.sdedit
Class SdeditPngDiagram

java.lang.Object
  extended by th.co.edge.jseq.sdedit.SdeditPngDiagram
All Implemented Interfaces:
Diagram

public class SdeditPngDiagram
extends java.lang.Object
implements Diagram

An SdeditPngDiagram is a Diagram that can be used to generate sequence diagrams in PNG format, using the Quick Sequence Diagram Editor to create the image.

Author:
jacek.ratzinger

Constructor Summary
SdeditPngDiagram(ActivationList activationList)
          Creates a new SdeditPngDiagram, using the given ActivationList as the basis for the sequence diagram.
 
Method Summary
 void save(java.io.File pngFile)
          Creates a sequence diagram and writes it to file as a PNG image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface th.co.edge.jseq.Diagram
toString
 

Constructor Detail

SdeditPngDiagram

public SdeditPngDiagram(ActivationList activationList)
Creates a new SdeditPngDiagram, using the given ActivationList as the basis for the sequence diagram.

Parameters:
activationList - a list of root Activations to use when generating the sequence diagram
Method Detail

save

public void save(java.io.File pngFile)
          throws java.io.IOException
Creates a sequence diagram and writes it to file as a PNG image.

Specified by:
save in interface Diagram
Parameters:
pngFile - the File to write to
Throws:
java.io.IOException - if something went wrong when creating or saving the diagram


Copyright © 2008 Edge Software, Co., Ltd.. All Rights Reserved.