public interface CellViewRenderer
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getRendererComponent(JGraph graph,
CellView view,
boolean sel,
boolean focus,
boolean preview)
Configure and return the renderer based on the passed in
components.
|
java.awt.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.view
- the view that should be rendered.sel
- whether the object is selected.focus
- whether the object has the focus.preview
- whether we are drawing a preview.Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.