|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NodeCellRenderer
Callback interface designed to feel like Swing's TableCellRenderer,
TreeCellRenderer and ListCellRenderer.
This interface is used as a callback by NodeCellRendererPainter e.g.
| Method Summary | |
|---|---|
JComponent |
getNodeCellRendererComponent(Graph2DView view,
NodeRealizer nodeRealizer,
Object userObject,
boolean selected)
Return a readily configured component that should be used to render the nodes contents. |
| Method Detail |
|---|
JComponent getNodeCellRendererComponent(Graph2DView view,
NodeRealizer nodeRealizer,
Object userObject,
boolean selected)
view - the view that will be used to display the contentsnodeRealizer - the node's realizer that is to be displayeduserObject - the user object to displayselected - whether the component should indicate a selected state
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||