Class AbstractShapedBorderWrapper

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Insets getBorderInsets​(java.awt.Component c)  
      java.awt.Shape getShape​(java.awt.Component c, int x, int y, int width, int height)
      Gets the shape of this border.
      boolean isBorderOpaque()  
      void paintBorder​(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractShapedBorderWrapper

        protected AbstractShapedBorderWrapper​(ShapedBorder border)
    • Method Detail

      • getShape

        public java.awt.Shape getShape​(java.awt.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 java.awt.Insets getBorderInsets​(java.awt.Component c)
      • paintBorder

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

        public boolean isBorderOpaque()