Package com.macrofocus.treemap
Class DefaultTreeMapToolTip<N,Row,Column,Component,Color,Font>
- java.lang.Object
-
- com.macrofocus.treemap.AbstractTreeMapToolTip<N,Row,Column,Component,Color,Font>
-
- com.macrofocus.treemap.DefaultTreeMapToolTip<N,Row,Column,Component,Color,Font>
-
- All Implemented Interfaces:
TreeMapToolTip<N,Row,Column,Color,Font>
public class DefaultTreeMapToolTip<N,Row,Column,Component,Color,Font> extends AbstractTreeMapToolTip<N,Row,Column,Component,Color,Font>
Created by luc on 06.05.17.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.macrofocus.treemap.TreeMapToolTip
TreeMapToolTip.ToolTipType
-
-
Constructor Summary
Constructors Constructor Description DefaultTreeMapToolTip(TreeMapView<Component,N,Row,Column,Color,Font> view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()java.awt.PointgetPreferredLocation()Gets the preferred location of the tooltip relative to the TreeMapView.TreeMapToolTip.ToolTipTypegetType()Gets the type of tooltip.intgetWidth()voidsetSize(java.awt.Dimension d)voidsetType(TreeMapToolTip.ToolTipType type)Sets the type of the tooltip.-
Methods inherited from class com.macrofocus.treemap.AbstractTreeMapToolTip
createPopup, getBorderColor, getInsets, getNode, getPopup, getPopupLocation, getPreferredLocation, getPreferredSize, getPreferredWidth, getRenderer, getView, hidePopup, paintBackground, paintText, setNode, setPreferredWidth, setRenderer, showNode, showPopup
-
-
-
-
Method Detail
-
setSize
public void setSize(java.awt.Dimension d)
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getPreferredLocation
public java.awt.Point getPreferredLocation()
Description copied from interface:TreeMapToolTipGets the preferred location of the tooltip relative to the TreeMapView.- Returns:
- the preferred location
-
getType
public TreeMapToolTip.ToolTipType getType()
Description copied from interface:TreeMapToolTipGets the type of tooltip.- Returns:
- the type of the tooltip.
-
setType
public void setType(TreeMapToolTip.ToolTipType type)
Description copied from interface:TreeMapToolTipSets the type of the tooltip.- Parameters:
type- the tooltip type.
-
-