Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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