Class ShadowBorder

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.border.Border

    public class ShadowBorder
    extends javax.swing.border.AbstractBorder
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ShadowBorder()  
      ShadowBorder​(int top, int left, int bottom, int right)  
      ShadowBorder​(java.awt.Insets insets)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Insets getBorderInsets​(java.awt.Component c)  
      java.awt.Insets getBorderInsets​(java.awt.Component c, java.awt.Insets aInset)  
      boolean isBorderOpaque()  
      static void main​(java.lang.String[] argv)  
      void paintBorder​(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)  
      • Methods inherited from class javax.swing.border.AbstractBorder

        getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle
      • Methods inherited from class java.lang.Object

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

      • ShadowBorder

        public ShadowBorder()
      • ShadowBorder

        public ShadowBorder​(int top,
                            int left,
                            int bottom,
                            int right)
      • ShadowBorder

        public ShadowBorder​(java.awt.Insets insets)
    • Method Detail

      • getBorderInsets

        public java.awt.Insets getBorderInsets​(java.awt.Component c)
        Specified by:
        getBorderInsets in interface javax.swing.border.Border
        Overrides:
        getBorderInsets in class javax.swing.border.AbstractBorder
      • getBorderInsets

        public java.awt.Insets getBorderInsets​(java.awt.Component c,
                                               java.awt.Insets aInset)
        Overrides:
        getBorderInsets in class javax.swing.border.AbstractBorder
      • isBorderOpaque

        public boolean isBorderOpaque()
        Specified by:
        isBorderOpaque in interface javax.swing.border.Border
        Overrides:
        isBorderOpaque in class javax.swing.border.AbstractBorder
      • paintBorder

        public void paintBorder​(java.awt.Component c,
                                java.awt.Graphics g,
                                int x,
                                int y,
                                int width,
                                int height)
        Specified by:
        paintBorder in interface javax.swing.border.Border
        Overrides:
        paintBorder in class javax.swing.border.AbstractBorder
      • main

        public static void main​(java.lang.String[] argv)