JGraph
v5.1


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.


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

Method Detail

createView

CellView createView(JGraph graph,
                    CellMapper mapper,
                    Object cell)
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(JGraph graph,
                    CellView view)
Sets the preferred size for view.


JGraph
v5.1


Copyright (C) 2001-2004 Gaudenz Alder. All rights reserved.