Adempiere 3.5.2a

org.compiere.swing
Class ShadowBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by org.compiere.swing.ShadowBorder
All Implemented Interfaces:
Serializable, Border

public class ShadowBorder
extends AbstractBorder

A border with a drop shadow. Extracted from JGoodies look demo.

Version:
2006-11-24
Author:
Low Heng Sin
See Also:
Serialized Form

Constructor Summary
ShadowBorder()
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
           
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadowBorder

public ShadowBorder()
Method Detail

getBorderInsets

public Insets getBorderInsets(Component c)
Specified by:
getBorderInsets in interface Border
Overrides:
getBorderInsets in class AbstractBorder

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int w,
                        int h)
Specified by:
paintBorder in interface Border
Overrides:
paintBorder in class AbstractBorder

Adempiere 3.5.2a

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