Module java.desktop
Package javax.swing.plaf

Class BorderUIResource.EmptyBorderUIResource

java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EmptyBorder
javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
所有已实现的接口:
Serializable, Border, UIResource
封装类:
BorderUIResource

public static class BorderUIResource.EmptyBorderUIResource extends EmptyBorder implements UIResource
一个空的边框UI资源。
  • Constructor Details

    • EmptyBorderUIResource

      public EmptyBorderUIResource(int top, int left, int bottom, int right)
      构造一个EmptyBorderUIResource
      参数:
      top - 边框的顶部插图
      left - 边框的左侧插图
      bottom - 边框的底部插图
      right - 边框的右侧插图
    • EmptyBorderUIResource

      @ConstructorProperties("borderInsets") public EmptyBorderUIResource(Insets insets)
      构造一个EmptyBorderUIResource
      参数:
      insets - 边框的插图
      抛出:
      NullPointerException - 如果指定的insetsnull