JGraph
v3.3


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

public 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

public void updateAutoSize(JGraph graph,
                           CellView view)
Sets the preferred size for view.

JGraph
v3.3


Copyright (C) 2001-2004 JGraph.org. All rights reserved.