org.compiere.plaf
Class CompierePanelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
javax.swing.plaf.basic.BasicPanelUI
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompierePanelUI
public CompierePanelUI()
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 paintc - the component being painted- See Also:
JComponent.paintComponent(java.awt.Graphics)
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.