Package games.stendhal.client.gui.styled
Class StyledPopupMenuUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PopupMenuUI
javax.swing.plaf.basic.BasicPopupMenuUI
games.stendhal.client.gui.styled.StyledPopupMenuUI
PopupMenuUI implementation for drawing styled menus.
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
popupMenu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
createUI(JComponent popup)
getPopup(JPopupMenu menu, int x, int y)
void
installUI(JComponent component)
void
paint(Graphics g, JComponent menu)
Methods inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
installDefaults, installKeyboardActions, installListeners, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
-
Constructor Details
-
StyledPopupMenuUI
Create a new StyledPopupMenuUI.- Parameters:
style
- The pixmap style for drawing the menu
-
-
Method Details
-
createUI
-
paint
- Overrides:
paint
in classComponentUI
-
getPopup
- Overrides:
getPopup
in classPopupMenuUI
-
installUI
- Overrides:
installUI
in classBasicPopupMenuUI
-