Class FreeColMenuBarUI


  • public class FreeColMenuBarUI
    extends javax.swing.plaf.basic.BasicMenuBarUI
    Use the "image.background.FreeColMenuBar" resource as a tiled background image on FreeColMenuBar, such as that at the top of the window.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static FreeColMenuBarUI sharedInstance  
      • Fields inherited from class javax.swing.plaf.basic.BasicMenuBarUI

        changeListener, containerListener, menuBar
    • 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.BasicMenuBarUI

        createChangeListener, createContainerListener, getMaximumSize, getMinimumSize, installDefaults, installKeyboardActions, installListeners, installUI, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getPreferredSize, update
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FreeColMenuBarUI

        public FreeColMenuBarUI()
    • Method Detail

      • 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