Package com.macrofocus.treemap
Interface TreeMapLabelRenderer<C,N,Row,Column,Color,Font>
-
- Type Parameters:
N
-
- All Known Implementing Classes:
DefaultTreeMapLabelRenderer
public interface TreeMapLabelRenderer<C,N,Row,Column,Color,Font>
This interface defines the method required to render labels in a TreeMapView.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.macrofocus.labeling.EnhancedLabel<Color,Font>
getTreeMapLabelRendererComponent(TreeMapView<C,N,Row,Column,Color,Font> view, TreeMapField<N,Column> field, N node, java.awt.Dimension dimension)
Returns the component used for drawing the labels values.
-
-
-
Method Detail
-
getTreeMapLabelRendererComponent
com.macrofocus.labeling.EnhancedLabel<Color,Font> getTreeMapLabelRendererComponent(TreeMapView<C,N,Row,Column,Color,Font> view, TreeMapField<N,Column> field, N node, java.awt.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
-
-