com.vlsolutions.swing.docking
Class ShadowBorder
java.lang.Object
com.vlsolutions.swing.docking.ShadowBorder
- Border
public class ShadowBorder
extends java.lang.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.
- full shadow border paints darker lines on top and left to define a rectangular shape
(this is the kind of border used by DockableContainers (DockViews).
half shadow border paints only a shadow (nothing on top and right) : it is used for
DockedTabbedPane contents.
ShadowBorder()
|
ShadowBorder(boolean paintTopLeft) - Constructs a full shadow border (if paintTopLeft is true) or a half shadow border
(is false).
|
ShadowBorder
public ShadowBorder()
ShadowBorder
public ShadowBorder(boolean paintTopLeft)
Constructs a full shadow border (if paintTopLeft is true) or a half shadow border
(is false).
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-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications