infovis.graph.io
Class VCGGraphWriter
java.lang.Object
infovis.io.AbstractWriter
infovis.graph.io.DOTGraphWriter
infovis.graph.io.VCGGraphWriter
- All Implemented Interfaces:
- Orientable, SwingConstants
public class VCGGraphWriter
- extends DOTGraphWriter
Class VCGGraphWriter
- Version:
- $Revision: 1.8 $
- Author:
- Jean-Daniel Fekete
- InfoVis factory arguments:
- GraphWriterFactory vcg
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Methods inherited from class infovis.graph.io.DOTGraphWriter |
getColors, getEdgeId, getEdgeIdColumn, getLabels, getLayoutRatio, getShapes, getSize, getVertexId, getVertexIdColumn, quoteString, setColors, setEdgeIdColumn, setLabels, setLayoutRatio, setShapes, setSize, setVertexIdColumn |
Methods inherited from class infovis.io.AbstractWriter |
addAllColumnLabels, addColumnLabel, flush, getColumnLabelAt, getColumnLabels, getEncoding, getName, getOut, getWriter, namedType, setEncoding, write, write, writeBuffer, writeln |
VCG_ORIENTATION
public static final String[] VCG_ORIENTATION
VCGGraphWriter
public VCGGraphWriter(OutputStream out,
String name,
Graph graph)
VCGGraphWriter
public VCGGraphWriter(OutputStream out,
Graph graph)
writeVertex
public void writeVertex(int vertex)
throws IOException
- Overrides:
writeVertex
in class DOTGraphWriter
- Throws:
IOException
writeEdge
public void writeEdge(int edge)
throws IOException
- Overrides:
writeEdge
in class DOTGraphWriter
- Throws:
IOException
getVCG_ORIENTATION
public String getVCG_ORIENTATION()
write
public boolean write()
- Description copied from class:
AbstractWriter
- Abstract method that performs the actual writing of data.
- Overrides:
write
in class DOTGraphWriter
getOrientation
public short getOrientation()
- Description copied from interface:
Orientable
- Returns the orientation manages by this interface.
- Specified by:
getOrientation
in interface Orientable
- Overrides:
getOrientation
in class DOTGraphWriter
- Returns:
- the orientation manages by this interface
setOrientation
public void setOrientation(short s)
- Description copied from interface:
Orientable
- Sets the orientation of this interface.
- Specified by:
setOrientation
in interface Orientable
- Overrides:
setOrientation
in class DOTGraphWriter
- Parameters:
s
- the orientation.
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.