net.infonode.gui.shaped.border

Interface ShapedBorder

public interface ShapedBorder extends Border

A border that has a {@link Shape}.

Version: $Revision: 1.9 $

Author: $Author: jesper $

Method Summary
ShapegetShape(Component c, int x, int y, int width, int height)

Gets the shape of this border.

Method Detail

getShape

public Shape getShape(Component c, int x, int y, int width, int height)

Gets the shape of this border.

Parameters: c the component to create a shape for x the x offset y the y offset width the width height the height

Returns: the Shape for this border or null if there is no shape and the normal rectangle bounds should be used