Package 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: AdempiereTableHeaderUI.java,v 1.2 2006/07/30 00:52:24 jjanke Exp $
- Author:
- Jorg Janke
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTableHeaderUI
BasicTableHeaderUI.MouseInputHandler
-
-
Field Summary
-
Fields inherited from class javax.swing.plaf.basic.BasicTableHeaderUI
header, mouseInputListener, rendererPane
-
-
Constructor Summary
Constructors Constructor Description CompiereTableHeaderUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentUI
createUI(JComponent c)
Static Create UIvoid
installUI(JComponent c)
Install UI - set not Opaquevoid
paint(Graphics g, JComponent c)
Paint 3D boxvoid
update(Graphics g, JComponent c)
Update - This method is invoked byJComponent
when the specified component is being painted.-
Methods inherited from class javax.swing.plaf.basic.BasicTableHeaderUI
createMouseInputListener, getBaseline, getMaximumSize, getMinimumSize, getPreferredSize, getRolloverColumn, installDefaults, installKeyboardActions, installListeners, rolloverColumnUpdated, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaselineResizeBehavior
-
-
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
Static Create UI- Parameters:
c
- Component- Returns:
- Adempiere TableHeader UI
-
installUI
public void installUI(JComponent c)
Install UI - set not Opaque- Overrides:
installUI
in classBasicTableHeaderUI
- Parameters:
c
-
-
update
public void update(Graphics g, JComponent c)
Update - This method is invoked byJComponent
when the specified component is being painted. By default this method will fill the specified component with its background color (if itsopaque
property istrue
) and then immediately callpaint
.- Overrides:
update
in classComponentUI
- Parameters:
g
- theGraphics
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 classBasicTableHeaderUI
- Parameters:
g
-c
-
-
-