org.jgraph.graph
Interface CellViewFactory

All Known Implementing Classes:
JGraph

public interface CellViewFactory

Defines the requirements for objects that may be used as a cell view factory.

Version:
1.0 1/1/02
Author:
Gaudenz Alder

Method Summary
 CellView createView(Object cell, CellMapper map)
          Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper.
 void updateAutoSize(CellView view)
          Sets the preferred size for view.
 

Method Detail

createView

CellView createView(Object cell,
                    CellMapper map)
Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper.

Parameters:
cell - reference to the object in the model

updateAutoSize

void updateAutoSize(CellView view)
Sets the preferred size for view.