Class CompierePanelUI


  • public class CompierePanelUI
    extends BasicPanelUI
    Panel UI. The default properties can be set via
      AdempierePanelUI.setDefaultBackground (new AdempiereColor());
      
    The individual Panel can set the background type by setting the parameter via
      putClientProperty(AdempierePanelUI.BACKGROUND, new AdempiereColor());
      
    Version:
    $Id: AdempierePanelUI.java,v 1.2 2006/07/30 00:52:24 jjanke Exp $
    Author:
    Jorg Janke
    See Also:
    CPanel
    • Constructor Detail

      • CompierePanelUI

        public CompierePanelUI()
    • Method Detail

      • createUI

        public static ComponentUI createUI​(JComponent c)
        Static Create UI
        Parameters:
        c - JComponent
        Returns:
        Adempiere Panel UI
      • update

        public void update​(Graphics g,
                           JComponent c)
        Update. This method is invoked by JComponent when the specified component is being painted. By default this method will fill the specified component with its background color (if its opaque property is true) and then immediately call paint.
        Overrides:
        update in class ComponentUI
        Parameters:
        g - the Graphics context in which to paint
        c - the component being painted
        See Also:
        JComponent.paintComponent(java.awt.Graphics)