infovis.graph.visualization.layout
Class AbstractGraphLayout
java.lang.Object
   infovis.graph.GraphProxy
infovis.graph.GraphProxy
       infovis.graph.visualization.layout.AbstractGraphLayout
infovis.graph.visualization.layout.AbstractGraphLayout
- All Implemented Interfaces: 
- Graph, NodeLinkGraphLayout, Metadata, Constants, Layout
- Direct Known Subclasses: 
- CircularLayout, GraphVizLayout, RandomGraphLayout
- public abstract class AbstractGraphLayout 
- extends GraphProxy- implements NodeLinkGraphLayout
Abstract implementation of NodeLinkGraphLayout
- Version:
- $Revision: 1.16 $
- Author:
- Jean-Daniel Fekete
 
 
| Fields inherited from interface infovis.metadata.Constants | 
| CONTRIBUTOR, COVERAGE, CREATOR, DATE, DESCRITION, FORMAT, IDENTIFIER, LANGUAGE, PUBLISHER, RELATION, RIGHTS, SOURCE, SUBJECT, TITLE, TYPE | 
 
 
| Methods inherited from class infovis.graph.GraphProxy | 
| addEdge, addGraphChangedListener, addVertex, clear, edgeIterator, edgeIterator, findEdge, getClientProperty, getDegree, getEdge, getEdgesCount, getEdgeTable, getFirstVertex, getGraph, getInDegree, getInEdgeAt, getMetadata, getName, getOtherVertex, getOutDegree, getOutEdgeAt, getSecondVertex, getVertexTable, getVerticesCount, inEdgeIterator, isDirected, outEdgeIterator, removeEdge, removeGraphChangedListener, removeVertex, setDirected, setGraph, setName, vertexIterator | 
 
 
| Methods inherited from interface infovis.visualization.Layout | 
| getName | 
 
COLUMN_FIXED
public static final String COLUMN_FIXED
- See Also:
- Constant Field Values
getVisualization
public NodeLinkGraphVisualization getVisualization()
- 
 
- 
 
getRectAt
public Rectangle2D.Float getRectAt(int row)
- 
 
- 
 
createRect
public Rectangle2D.Float createRect()
- 
 
- 
 
initRect
public Rectangle2D.Float initRect(Rectangle2D.Float rect)
- 
 
- 
 
getShapes
public ShapeColumn getShapes()
- 
 
- 
 
setRectSizeAt
public void setRectSizeAt(int row,
                          Rectangle2D.Float rect)
- 
 
- 
 
setShapeAt
public void setShapeAt(int row,
                       Shape s)
- 
 
- 
 
getBounds
public Rectangle2D getBounds()
- 
 
- 
 
getOrientation
public short getOrientation()
- 
 
- 
 
getParent
public Component getParent()
- 
 
- 
 
getLinkShapes
public ShapeColumn getLinkShapes()
- 
 
- 
 
computeShapes
public void computeShapes(Rectangle2D bounds,
                          Visualization vis)
- Description copied from interface: Layout
- Computes the layout.
 
- 
- Specified by:
- computeShapesin interface- Layout
 
- 
- Parameters:
- bounds- the allocated bounds of the
 visualization.
- vis- the visualization.
 
computeShapes
public void computeShapes(Rectangle2D bounds,
                          NodeLinkGraphVisualization vis)
- 
 
- 
 
incrementLayout
public void incrementLayout(Rectangle2D bounds,
                            NodeLinkGraphVisualization vis)
- 
- Specified by:
- incrementLayoutin interface- NodeLinkGraphLayout
 
- 
 
isFinished
public boolean isFinished()
- 
- Specified by:
- isFinishedin interface- NodeLinkGraphLayout
 
- 
 
getPreferredSize
public Dimension getPreferredSize(Visualization vis)
- Description copied from interface: Layout
- Computes and return the preferred size
 for this layout and this visualization.
 
- 
- Specified by:
- getPreferredSizein interface- Layout
 
- 
- Parameters:
- vis- the visualization
- Returns:
- the preferred size
 for this layout and this visualization.
 
invalidate
public void invalidate(Visualization vis)
- Description copied from interface: Layout
- Invalidate the cached state of the
 layout.
 
 Call this method from the visualization
 when it gets invalidated.
 
 
- 
- Specified by:
- invalidatein interface- Layout
 
- 
- Parameters:
- vis- the visualization.
 
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.