org.compiere.plaf
Class CompiereTableHeaderUI
java.lang.Object
|
+--javax.swing.plaf.ComponentUI
|
+--javax.swing.plaf.TableHeaderUI
|
+--javax.swing.plaf.basic.BasicTableHeaderUI
|
+--org.compiere.plaf.CompiereTableHeaderUI
- public class CompiereTableHeaderUI
- extends BasicTableHeaderUI
Table Header UI
3D effect
- Version:
- $Id: CompiereTableHeaderUI.java,v 1.5 2002/08/12 01:55:15 danb Exp $
- Author:
- Jorg Janke
Methods inherited from class javax.swing.plaf.basic.BasicTableHeaderUI |
createMouseInputListener, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installKeyboardActions, installListeners, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompiereTableHeaderUI
public CompiereTableHeaderUI()
createUI
public static ComponentUI createUI(JComponent c)
- Static Create UI
- Parameters:
c
- Component
- Returns:
- Compiere TableHeader UI
installUI
public void installUI(JComponent c)
- Install UI - set not Opaque
- Overrides:
installUI
in class BasicTableHeaderUI
- Parameters:
c
-
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:
paint(java.awt.Graphics, javax.swing.JComponent)
,
JComponent.paintComponent(java.awt.Graphics)
paint
public void paint(Graphics g,
JComponent c)
- Paint 3D box
- Overrides:
paint
in class BasicTableHeaderUI
- Parameters:
g
- c
-
Copyright (c) 1999-2003 ComPiere, Inc. - Author: Jorg Janke