Package org.compiere.swing
Class ShadowBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- 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
Constructors Constructor Description ShadowBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsets
in interfaceBorder
- Overrides:
getBorderInsets
in classAbstractBorder
-
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classAbstractBorder
-
-