Package com.jidesoft.plaf.basic
Class BasicJidePopupMenuUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PopupMenuUI
javax.swing.plaf.basic.BasicPopupMenuUI
com.jidesoft.plaf.basic.BasicJidePopupMenuUI
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
popupMenu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
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
-
Constructor Details
-
BasicJidePopupMenuUI
public BasicJidePopupMenuUI()
-
-
Method Details
-
createUI
-
getPopup
- Overrides:
getPopup
in classPopupMenuUI
-
addScrollPaneIfNecessary
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 originy
- the y origin- Returns:
- Popup
-