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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIcreateUI(JComponent popup) getPopup(JPopupMenu menu, int x, int y) voidinstallUI(JComponent component) voidpaint(Graphics g, JComponent menu) Methods inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
installDefaults, installKeyboardActions, installListeners, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUIMethods 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:
paintin classComponentUI
-
getPopup
- Overrides:
getPopupin classPopupMenuUI
-
installUI
- Overrides:
installUIin classBasicPopupMenuUI
-