net.infonode.gui.shaped.border
Interface ShapedBorder

All Superinterfaces:
Border

public interface ShapedBorder
extends Border

A border that has a Shape.

Version:
$Revision: 1.9 $

Method Summary
 Shape getShape(Component c, int x, int y, int width, int height)
          Gets the shape of this border.
 
Methods inherited from interface javax.swing.border.Border
getBorderInsets, isBorderOpaque, paintBorder
 

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


Copyright © 2007 NNL Technology AB. All Rights Reserved.