org.jvnet.substance
Class SubstanceDropShadowBorder
java.lang.Object
org.jvnet.substance.SubstanceDropShadowBorder
- All Implemented Interfaces:
- Border
public class SubstanceDropShadowBorder
- extends Object
- implements Border
Gradient border with drop shadow for the Substance look and feel.
- Author:
- Kirill Grouchnikov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUAQUA_MARGIN
public static final int QUAQUA_MARGIN
- See Also:
- Constant Field Values
SubstanceDropShadowBorder
public SubstanceDropShadowBorder()
- Simple constructor. Constructs border with default insets.
SubstanceDropShadowBorder
public SubstanceDropShadowBorder(int gap)
- Simple constructor. The insets will be computed based on the specified
value for gap.
- Parameters:
gap
- Gap value.
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder
in interface Border
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsets
in interface Border
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interface Border