- All Known Implementing Classes:
- PTBCellRendererImpl, VTreeCellRendererImpl
- public interface VTreeCellRenderer
Similar to the CellRenderer in the javax.swing.tree package. Gives
a component which will paint the node. Note that all nodes may use the
same component, because it is not really added to the VTreeCanvas. The canvas
just asks it to paint itself in the appropriate position. As a result, you may not
want to set listeners on this component.
This method will be messaged before each node is painted, so that the
component can be updated. If the size of a node changes, with no corresponding
mutation event, then a fake mutation event correponding to nodeObject changed
should be passed to the canvas.
public java.awt.Component getTreeCellRendererComponent(VTreeCanvas vTree,