JIDE 3.5.15

com.jidesoft.plaf.basic
Class BasicJidePopupMenuUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PopupMenuUI
          extended by javax.swing.plaf.basic.BasicPopupMenuUI
              extended by com.jidesoft.plaf.basic.BasicJidePopupMenuUI

public class BasicJidePopupMenuUI
extends BasicPopupMenuUI


Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
popupMenu
 
Constructor Summary
BasicJidePopupMenuUI()
           
 
Method Summary
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.
static ComponentUI createUI(JComponent c)
           
 Popup getPopup(JPopupMenu popupMenu, int x, int y)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
installDefaults, installKeyboardActions, installListeners, installUI, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicJidePopupMenuUI

public BasicJidePopupMenuUI()
Method Detail

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

JIDE 3.5.15