Package net.sf.freecol.client.gui.plaf
Class FreeColPopupMenuUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PopupMenuUI
-
- javax.swing.plaf.basic.BasicPopupMenuUI
-
- net.sf.freecol.client.gui.plaf.FreeColPopupMenuUI
-
public class FreeColPopupMenuUI extends javax.swing.plaf.basic.BasicPopupMenuUIDraw the "image.background.FreeColPopupMenu" resource as a tiled background image on popup menus, such as the drop down from the menu bar at the top of the main window or the tile popup. Obviously these contain text so a light colour is recommended.
-
-
Field Summary
Fields Modifier and Type Field Description private static FreeColPopupMenuUIsharedInstance
-
Constructor Summary
Constructors Constructor Description FreeColPopupMenuUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)voidpaint(java.awt.Graphics g, javax.swing.JComponent c)-
Methods inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
installDefaults, installKeyboardActions, installListeners, installUI, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
-
-
-
-
Field Detail
-
sharedInstance
private static final FreeColPopupMenuUI sharedInstance
-
-