Adempiere 3.5.2a

org.compiere.plaf
Class CompierePanelUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by javax.swing.plaf.basic.BasicPanelUI
              extended by org.compiere.plaf.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 Summary
CompierePanelUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
          Static Create UI
protected  void installDefaults(JPanel p)
          Install Defaults
 void update(Graphics g, JComponent c)
          Update.
 
Methods inherited from class javax.swing.plaf.basic.BasicPanelUI
getBaseline, getBaselineResizeBehavior, installUI, uninstallDefaults, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompierePanelUI

public CompierePanelUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Static Create UI

Parameters:
c - Vomponent
Returns:
Adempiere Panel UI

installDefaults

protected void installDefaults(JPanel p)
Install Defaults

Overrides:
installDefaults in class BasicPanelUI
Parameters:
p - Panel

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)

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.