com.vlsolutions.swing.docking

Class ShadowBorder

Implemented Interfaces:
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.

Constructor Summary

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

Method Summary

Insets
getBorderInsets(Component component)
boolean
isBorderOpaque()
void
paintBorder(Component component, Graphics graphics, int x, int y, int w, int h)

Constructor Details

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 Details

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