Class DefaultTreeMapPopup<Component>

  • All Implemented Interfaces:
    TreeMapPopup<Component>

    public class DefaultTreeMapPopup<Component>
    extends java.lang.Object
    implements TreeMapPopup<Component>
    An implementation of a popup window using straight painting.
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultTreeMapPopup

        public DefaultTreeMapPopup​(TreeMapView<Component,​?,​?,​?,​?,​?> view)
    • Method Detail

      • 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
      • getLocation

        public java.awt.Point getLocation()
        Description copied from interface: TreeMapPopup
        Returns the position of the popup.
        Specified by:
        getLocation in interface TreeMapPopup<Component>
        Returns:
        the position of the popup