Class CompoundEmptyBorder

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.border.Border
    Direct Known Subclasses:
    InsetBorder

    public class CompoundEmptyBorder
    extends javax.swing.border.CompoundBorder
    Author:
    Christopher Butler
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.awt.Insets EMPTY_INSETS  
      protected boolean inner  
      • Fields inherited from class javax.swing.border.CompoundBorder

        insideBorder, outsideBorder
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CompoundEmptyBorder​(javax.swing.border.Border outer, javax.swing.border.Border inner, boolean emptyInner)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static CompoundEmptyBorder create​(javax.swing.border.Border border, boolean inner)  
      static CompoundEmptyBorder create​(javax.swing.border.Border border, boolean inner, java.awt.Insets base)  
      java.awt.Insets getEmptyInsets()  
      javax.swing.border.Border getWrappedBorder()  
      boolean setEmptyInsets​(int top, int left, int bottom, int right)  
      boolean setEmptyInsets​(java.awt.Insets insets)  
      • Methods inherited from class javax.swing.border.CompoundBorder

        getBorderInsets, getInsideBorder, getOutsideBorder, isBorderOpaque, paintBorder
      • Methods inherited from class javax.swing.border.AbstractBorder

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

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

      • EMPTY_INSETS

        protected static final java.awt.Insets EMPTY_INSETS
      • inner

        protected boolean inner
    • Constructor Detail

      • CompoundEmptyBorder

        protected CompoundEmptyBorder​(javax.swing.border.Border outer,
                                      javax.swing.border.Border inner,
                                      boolean emptyInner)
    • Method Detail

      • create

        public static CompoundEmptyBorder create​(javax.swing.border.Border border,
                                                 boolean inner)
      • create

        public static CompoundEmptyBorder create​(javax.swing.border.Border border,
                                                 boolean inner,
                                                 java.awt.Insets base)
      • setEmptyInsets

        public boolean setEmptyInsets​(java.awt.Insets insets)
      • setEmptyInsets

        public boolean setEmptyInsets​(int top,
                                      int left,
                                      int bottom,
                                      int right)
      • getEmptyInsets

        public java.awt.Insets getEmptyInsets()
      • getWrappedBorder

        public javax.swing.border.Border getWrappedBorder()