|
JGraph |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the requirements for objects that may be used as a cell mapper. A cell mapper is able to return the view of a cell, given a reference to that cell object. It is basically a cell to cell view mapping
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 |
public CellView getMapping(Object cell, boolean create)
cell
.
create
- whether a new view should created if a view does not already
existpublic void putMapping(Object cell, CellView view)
cell
and view
.
cell
- the cell that constitutes the model elementview
- the view that constitutes the view element
|
JGraph |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |