|
|||||||||||
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 view renderer.
Method Summary | |
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. |
boolean |
supportsAttribute(java.lang.Object key)
Returns true if key is a supported
attributes in the renderer. |
Method Detail |
public 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.
public boolean supportsAttribute(java.lang.Object key)
true
if key
is a supported
attributes in the renderer. Supported attributes affect the
visual appearance of the renderer.
key
- the key that defines the attribute to be checked.
key
is supported by this renderer.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |