Package weka.gui

Class GenericObjectEditor.JTreePopupMenu

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, MenuElement
Enclosing class:
GenericObjectEditor

public class GenericObjectEditor.JTreePopupMenu extends JPopupMenu
Creates a popup menu containing a tree that is aware of the screen dimensions.
See Also:
  • Constructor Details

    • JTreePopupMenu

      public JTreePopupMenu(JTree tree)
      Constructs a new popup menu.
      Parameters:
      tree - the tree to put in the menu
  • Method Details

    • show

      public void show(Component invoker, int x, int y)
      Displays the menu, making sure it will fit on the screen.
      Overrides:
      show in class JPopupMenu
      Parameters:
      invoker - the component thast invoked the menu
      x - the x location of the popup
      y - the y location of the popup