Package com.macrofocus.treeplot
Class DefaultTreePlotPopup<Component>
- java.lang.Object
-
- com.macrofocus.treeplot.DefaultTreePlotPopup<Component>
-
- All Implemented Interfaces:
TreeMapPopup<Component>
public class DefaultTreePlotPopup<Component> extends java.lang.Object implements TreeMapPopup<Component>
An implementation of a popup window using straight painting.
-
-
Constructor Summary
Constructors Constructor Description DefaultTreePlotPopup(TreePlotView<Component,?,?,?,?,?> view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.PointgetLocation()Returns the position of the popup.voidhidePopup()Hides the popup.voidrepaint()Repaints the owner of the popup.voidshowPopup(int x, int y, Component owner)Shows the popup at the specified x and y coordinates.
-
-
-
Constructor Detail
-
DefaultTreePlotPopup
public DefaultTreePlotPopup(TreePlotView<Component,?,?,?,?,?> view)
-
-
Method Detail
-
showPopup
public void showPopup(int x, int y, Component owner)Description copied from interface:TreeMapPopupShows the popup at the specified x and y coordinates.- Specified by:
showPopupin interfaceTreeMapPopup<Component>- Parameters:
x- the x position. It is screen position.y- the y position. It is screen position.owner- the popup window's owner
-
hidePopup
public void hidePopup()
Description copied from interface:TreeMapPopupHides the popup.- Specified by:
hidePopupin interfaceTreeMapPopup<Component>
-
repaint
public void repaint()
Description copied from interface:TreeMapPopupRepaints the owner of the popup.- Specified by:
repaintin interfaceTreeMapPopup<Component>
-
getLocation
public java.awt.Point getLocation()
Description copied from interface:TreeMapPopupReturns the position of the popup.- Specified by:
getLocationin interfaceTreeMapPopup<Component>- Returns:
- the position of the popup
-
-