Module java.desktop

Class BorderUIResource.EmptyBorderUIResource

java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EmptyBorder
javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
All Implemented Interfaces:
Serializable, Border, UIResource
Enclosing class:
BorderUIResource

public static class BorderUIResource.EmptyBorderUIResource extends EmptyBorder implements UIResource
An empty border UI resource.
  • Constructor Details

    • EmptyBorderUIResource

      public EmptyBorderUIResource(int top, int left, int bottom, int right)
      Constructs an EmptyBorderUIResource.
      Parameters:
      top - the top inset of the border
      left - the left inset of the border
      bottom - the bottom inset of the border
      right - the right inset of the border
    • EmptyBorderUIResource

      @ConstructorProperties("borderInsets") public EmptyBorderUIResource(Insets insets)
      Constructs an EmptyBorderUIResource.
      Parameters:
      insets - the insets of the border
      Throws:
      NullPointerException - if the spcecified insets is null