com.vlsolutions.swing.docking

Class ShadowBorder

public class ShadowBorder extends Object implements Border

A border using a shadow on right-bottom sides.

Two types of border can be drawn : full shadow border and half shadow border.

Constructor Summary
ShadowBorder()
ShadowBorder(boolean paintTopLeft)
Constructs a full shadow border (if paintTopLeft is true) or a half shadow border (is false).
Method Summary
InsetsgetBorderInsets(Component component)
booleanisBorderOpaque()
voidpaintBorder(Component component, Graphics graphics, int x, int y, int w, int h)

Constructor Detail

ShadowBorder

public ShadowBorder()

ShadowBorder

public ShadowBorder(boolean paintTopLeft)
Constructs a full shadow border (if paintTopLeft is true) or a half shadow border (is false).

Method Detail

getBorderInsets

public Insets getBorderInsets(Component component)

isBorderOpaque

public boolean isBorderOpaque()

paintBorder

public void paintBorder(Component component, Graphics graphics, int x, int y, int w, int h)
© Copyright 2004-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications