com.jidesoft.treemap
Interface TreeMapLabelRenderer<N>
- Type Parameters:
N
-
- All Known Implementing Classes:
- DefaultTreeMapLabelRenderer, DefaultTreeMapLabelRenderer.UIResource
public interface TreeMapLabelRenderer<N>
This interface defines the method required to render labels in a TreeMapView.
getTreeMapLabelRendererComponent
JComponent getTreeMapLabelRendererComponent(TreeMapView<N> view,
TreeMapField<N> field,
N node,
Dimension dimension)
- Returns the component used for drawing the labels values.
- Parameters:
view
- the viewfield
- the field for which the value should be queriednode
- the node for which the value should be querieddimension
-
- Returns:
- the component
getVerticalAlignment
int getVerticalAlignment(N node)