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. |
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 forx
- the x offsety
- the y offsetwidth
- the widthheight
- 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.