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

public class AbstractShapedBorderWrapper extends AbstractShapedBorder
See Also:
  • Constructor Details

    • AbstractShapedBorderWrapper

      protected AbstractShapedBorderWrapper(ShapedBorder border)
  • Method Details

    • getShape

      public Shape getShape(Component c, int x, int y, int width, int height)
      Description copied from interface: ShapedBorder

      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
    • getBorderInsets

      public Insets getBorderInsets(Component c)
    • paintBorder

      public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
    • isBorderOpaque

      public boolean isBorderOpaque()