Package net.infonode.gui.shaped.border
Interface ShapedBorder
-
- All Superinterfaces:
javax.swing.border.Border
- All Known Implementing Classes:
AbstractPolygonBorder,AbstractShapedBorder,AbstractShapedBorderWrapper,FixedInsetsShapedBorder,PolygonBorder,RoundedCornerBorder,SlopedTabLineBorder,TwoColoredLineBorder
public interface ShapedBorder extends javax.swing.border.BorderA border that has aShape.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.ShapegetShape(java.awt.Component c, int x, int y, int width, int height)Gets the shape of this border.
-
-
-
Method Detail
-
getShape
java.awt.Shape getShape(java.awt.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
-
-