|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CellViewRenderer
Defines the requirements for objects that may be used as a cell view renderer.
Method Summary | |
---|---|
Component |
getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
Configure and return the renderer based on the passed in components. |
Method Detail |
---|
Component getRendererComponent(JGraph graph, CellView view, boolean sel, boolean focus, boolean preview)
convertValueToString
.
We recommend you check the value's class and throw an
illegal argument exception if it's not correct.
graph
- the graph that that defines the rendering context.value
- the object that should be rendered.selected
- whether the object is selected.hasFocus
- whether the object has the focus.isPreview
- whether we are drawing a preview.
|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |