Class DefaultTreePlotPopup<Component>

java.lang.Object
com.treemap.treeplot.DefaultTreePlotPopup<Component>
All Implemented Interfaces:
TreeMapPopup<Component>

public class DefaultTreePlotPopup<Component> extends Object implements TreeMapPopup<Component>
An implementation of a popup window using straight painting.
  • Constructor Details

  • Method Details

    • showPopup

      public void showPopup(int x, int y, Component owner)
      Description copied from interface: TreeMapPopup
      Shows the popup at the specified x and y coordinates.
      Specified by:
      showPopup in interface TreeMapPopup<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: TreeMapPopup
      Hides the popup.
      Specified by:
      hidePopup in interface TreeMapPopup<Component>
    • repaint

      public void repaint()
      Description copied from interface: TreeMapPopup
      Repaints the owner of the popup.
      Specified by:
      repaint in interface TreeMapPopup<Component>
    • getAnchor

      public com.macrofocus.geom.Point getAnchor()
      Description copied from interface: TreeMapPopup
      Returns the position of the popup.
      Specified by:
      getAnchor in interface TreeMapPopup<Component>
      Returns:
      the position of the popup