Class BasicJidePopupMenuUI


public class BasicJidePopupMenuUI extends BasicPopupMenuUI
  • Constructor Details

    • BasicJidePopupMenuUI

      public BasicJidePopupMenuUI()
  • Method Details

    • createUI

      public static ComponentUI createUI(JComponent c)
    • getPopup

      public Popup getPopup(JPopupMenu popupMenu, int x, int y)
      Overrides:
      getPopup in class PopupMenuUI
    • addScrollPaneIfNecessary

      public static Popup addScrollPaneIfNecessary(JPopupMenu popupMenu, int x, int y)
      Adds a scroll pane to the popup menu if the popup menu is taller than the screen boundary.
      Parameters:
      popupMenu - the popup menu.
      x - the x origin
      y - the y origin
      Returns:
      Popup