01: /*
02: * @(#)CellViewFactory.java 1.0 03-JUL-04
03: *
04: * Copyright (c) 2001-2004 Gaudenz Alder
05: *
06: */
07: package org.jgraph.graph;
08:
09: /**
10: * Defines the requirements for objects that may be used as a
11: * cell view factory.
12: *
13: * @version 1.0 1/1/02
14: * @author Gaudenz Alder
15: */
16:
17: public interface CellViewFactory {
18:
19: /**
20: * Constructs a view for the specified cell and associates it
21: * with the specified object using the specified CellMapper.
22: *
23: * @param cell reference to the object in the model
24: */
25: CellView createView(GraphModel model, Object cell);
26:
27: }
|