Package net.infonode.gui.shaped.border
Class AbstractShapedBorderWrapper
java.lang.Object
net.infonode.gui.shaped.border.AbstractShapedBorder
net.infonode.gui.shaped.border.AbstractShapedBorderWrapper
- All Implemented Interfaces:
Serializable
,Border
,ShapedBorder
- Direct Known Subclasses:
FixedInsetsShapedBorder
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the shape of this border.boolean
void
paintBorder
(Component c, Graphics g, int x, int y, int width, int height)
-
Constructor Details
-
AbstractShapedBorderWrapper
-
-
Method Details
-
getShape
Description copied from interface:ShapedBorder
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
-
getBorderInsets
-
paintBorder
-
isBorderOpaque
public boolean isBorderOpaque()
-