org.jgraph.graph

Interface CellViewFactory

Known Implementing Classes:
DefaultCellViewFactory

public interface CellViewFactory

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

Method Summary

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

Method Details

createView

public CellView createView(GraphModel model,
                           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

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