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 "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.
| Fields inherited from class javax.swing.plaf.basic.BasicPopupMenuUI |
popupMenu |
|
Method Summary |
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 |
| Methods inherited from class javax.swing.plaf.PopupMenuUI |
getPopup |
| Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sharedInstance
private static FreeColPopupMenuUI sharedInstance
FreeColPopupMenuUI
public FreeColPopupMenuUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paint in class javax.swing.plaf.ComponentUI