public class BasicJidePopupMenuUI extends BasicPopupMenuUI
popupMenu
Constructor and Description |
---|
BasicJidePopupMenuUI() |
Modifier and Type | Method and Description |
---|---|
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) |
installDefaults, installKeyboardActions, installListeners, installUI, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
public static ComponentUI createUI(JComponent c)
public Popup getPopup(JPopupMenu popupMenu, int x, int y)
getPopup
in class PopupMenuUI
public static Popup addScrollPaneIfNecessary(JPopupMenu popupMenu, int x, int y)
popupMenu
- the popup menu.x
- the x originy
- the y origin