Class FreeColBrightPanelUI


  • public class FreeColBrightPanelUI
    extends javax.swing.plaf.basic.BasicPanelUI
    Draw the "image.background.FreeColBrightPanel" resource as a tiled background image. BrightPanel is intended to provide a lighter background than the default panel, and is used for panels that might contain icons and text annotations, for example, many of the subpanels in the ColonyPanel.
    • 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.BasicPanelUI

        getBaseline, getBaselineResizeBehavior, installDefaults, installUI, uninstallDefaults, uninstallUI
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, update
      • Methods inherited from class java.lang.Object

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

      • FreeColBrightPanelUI

        public FreeColBrightPanelUI()
    • 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