Package com.macrofocus.treemap
Class DefaultTreeMapTooltipRenderer<C,N,Row,Column,Color,Font>
- java.lang.Object
-
- com.macrofocus.labeling.EnhancedLabel<Color,Font>
-
- com.macrofocus.treemap.DefaultTreeMapTooltipRenderer<C,N,Row,Column,Color,Font>
-
- Type Parameters:
N
-
- All Implemented Interfaces:
TreeMapTooltipRenderer<C,N,Row,Column,Color,Font>
public class DefaultTreeMapTooltipRenderer<C,N,Row,Column,Color,Font> extends com.macrofocus.labeling.EnhancedLabel<Color,Font> implements TreeMapTooltipRenderer<C,N,Row,Column,Color,Font>
The standard class for rendering (displaying) tooltips in a TreeMapView.
-
-
Field Summary
Fields Modifier and Type Field Description static javax.swing.border.Border
DEFAULT_BORDER
-
Constructor Summary
Constructors Constructor Description DefaultTreeMapTooltipRenderer()
Creates a default label renderer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.macrofocus.labeling.EnhancedLabel<Color,Font>
getTooltipRendererComponent(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 tooltip values.-
Methods inherited from class com.macrofocus.labeling.EnhancedLabel
getAngle, getBackground, getBorder, getDesiredSize, getEffect, getEffectOpacity, getFont, getForeground, getHeight, getHorizontalAlignment, getInsets, getMinimumCharactersToDisplay, getName, getProperties, getRendering, getText, getVerticalAlignment, getWidth, isEnabled, isJustified, isOpaque, setAngle, setBackground, setBorder, setDesiredSize, setEffect, setEffectOpacity, setFont, setForeground, setHorizontalAlignment, setJustified, setMinimumCharactersToDisplay, setName, setOpaque, setRendering, setText, setVerticalAlignment
-
-
-
-
Method Detail
-
getTooltipRendererComponent
public com.macrofocus.labeling.EnhancedLabel<Color,Font> getTooltipRendererComponent(TreeMapView<C,N,Row,Column,Color,Font> view, TreeMapField<N,Column> field, N node, java.awt.Dimension dimension)
Description copied from interface:TreeMapTooltipRenderer
Returns the component used for drawing the tooltip values.- Specified by:
getTooltipRendererComponent
in interfaceTreeMapTooltipRenderer<C,N,Row,Column,Color,Font>
- Parameters:
view
- the viewfield
- the field for which the value should be queriednode
- the node for which the value should be queried- Returns:
- the component
-
-