Package com.macrofocus.treemap
Interface TreeMapPopup<Component>
-
- All Known Implementing Classes:
DefaultTreeMapPopup
,DefaultTreePlotPopup
,JideTreeMapPopup
,SwingTreeMapPopup
public interface TreeMapPopup<Component>
A popup window (typically to display tooltips)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Point
getLocation()
Returns the position of the popup.void
hidePopup()
Hides the popup.void
repaint()
Repaints the owner of the popup.void
showPopup(int x, int y, Component owner)
Shows the popup at the specified x and y coordinates.
-
-
-
Method Detail
-
showPopup
void showPopup(int x, int y, Component owner)
Shows the popup at the specified x and y coordinates.- Parameters:
x
- the x position. It is screen position.y
- the y position. It is screen position.owner
- the popup window's owner
-
hidePopup
void hidePopup()
Hides the popup.
-
repaint
void repaint()
Repaints the owner of the popup.
-
getLocation
java.awt.Point getLocation()
Returns the position of the popup.- Returns:
- the position of the popup
-
-