Package com.treemap.treeplot
Interface TreePlotTooltipRenderer<Component,N,Row,Column,Color,Font>
- Type Parameters:
N
-
- All Known Implementing Classes:
DefaultTreePlotTooltipRenderer
public interface TreePlotTooltipRenderer<Component,N,Row,Column,Color,Font>
This interface defines the method required to render tooltip values in a TreeMapView.
-
Method Summary
Modifier and TypeMethodDescriptiongetTooltipRendererComponent
(TreePlotView<Component, N, Row, Column, Color, Font> view, TreeMapField<N, Column> field, TreeMapFieldSettings<Color, Font> settings, N node, Dimension dimension) Returns the component used for drawing the tooltip values.
-
Method Details
-
getTooltipRendererComponent
com.macrofocus.labeling.EnhancedLabel<Color,Font> getTooltipRendererComponent(TreePlotView<Component, N, Row, Column, Color, Font> view, TreeMapField<N, Column> field, TreeMapFieldSettings<Color, Font> settings, N node, Dimension dimension) Returns the component used for drawing the tooltip 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
-