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 CellMapper

All Known Implementing Classes:
  GraphContext, GraphLayoutCache

public interface CellMapper

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

Method Summary
`CellView` | `getMapping(Object cell, boolean create)` Returns the view that is associated with `cell`.
`void` | `putMapping(Object cell, CellView view)` Inserts the association between `cell` and `view`.

Method Detail

### getMapping

    public CellView getMapping(Object cell,
                               boolean create)

  Returns the view that is associated with `cell`.

  Parameters:
    `create` - whether a new view should created

### putMapping

    public void putMapping(Object cell,
                           CellView view)

  Inserts the association between `cell` and `view`.

  Parameters:
    `cell` - the cell that constitutes the model element
    `view` - the view that constitutes the view element

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.