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.BasicPopupMenuUI
Draw 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 FreeColPopupMenuUI
sharedInstance
-
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.ComponentUI
createUI(javax.swing.JComponent c)
void
paint(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
-
-