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 int
getHeight()
java.awt.Point
getPreferredLocation()
Gets the preferred location of the tooltip relative to the TreeMapView.TreeMapToolTip.ToolTipType
getType()
Gets the type of tooltip.int
getWidth()
void
setSize(java.awt.Dimension d)
void
setType(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:TreeMapToolTip
Gets the preferred location of the tooltip relative to the TreeMapView.- Returns:
- the preferred location
-
getType
public TreeMapToolTip.ToolTipType getType()
Description copied from interface:TreeMapToolTip
Gets the type of tooltip.- Returns:
- the type of the tooltip.
-
setType
public void setType(TreeMapToolTip.ToolTipType type)
Description copied from interface:TreeMapToolTip
Sets the type of the tooltip.- Parameters:
type
- the tooltip type.
-
-