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
-
public class BasicJidePopupMenuUI extends javax.swing.plaf.basic.BasicPopupMenuUI
-
-
Constructor Summary
Constructors Constructor Description BasicJidePopupMenuUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.Popup
addScrollPaneIfNecessary(javax.swing.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 javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent c)
javax.swing.Popup
getPopup(javax.swing.JPopupMenu popupMenu, int x, int y)
-
Methods inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
installDefaults, installKeyboardActions, installListeners, installUI, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
getPopup
public javax.swing.Popup getPopup(javax.swing.JPopupMenu popupMenu, int x, int y)
- Overrides:
getPopup
in classjavax.swing.plaf.PopupMenuUI
-
addScrollPaneIfNecessary
public static javax.swing.Popup addScrollPaneIfNecessary(javax.swing.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 originy
- the y origin- Returns:
- Popup
-
-