|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteasik.sketch.util.graph.ExtendableCellViewFactory.CellViewMapping
private static class ExtendableCellViewFactory.CellViewMapping
A mapping of cell classes to view classes.
An instance of this class is added through the addCellType(Class, Class) method.
When a cell is to be rendered, the view type associated with it through an object of this class is used.
| Field Summary | |
|---|---|
private java.lang.Class |
cellClass
The cell class |
private java.lang.Class |
viewClass
The view class |
| Constructor Summary | |
|---|---|
private |
ExtendableCellViewFactory.CellViewMapping()
|
| Method Summary | |
|---|---|
java.lang.Class |
getCellClass()
|
java.lang.Class |
getViewClass()
|
void |
setCellClass(java.lang.Class c)
Sets the class of the cell. |
void |
setViewClass(java.lang.Class v)
Sets the class of the view. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.Class cellClass
private java.lang.Class viewClass
| Constructor Detail |
|---|
private ExtendableCellViewFactory.CellViewMapping()
| Method Detail |
|---|
public java.lang.Class getCellClass()
public void setCellClass(java.lang.Class c)
c - The class to set the cell as having.public java.lang.Class getViewClass()
public void setViewClass(java.lang.Class v)
v - The class to set the view as having.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||