Module java.desktop
Package javax.swing.plaf

Class BorderUIResource.LineBorderUIResource

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

public static class BorderUIResource.LineBorderUIResource extends LineBorder implements UIResource
线边框UI资源。
  • Constructor Details

    • LineBorderUIResource

      public LineBorderUIResource(Color color)
      构造一个LineBorderUIResource
      参数:
      color - 边框的颜色
    • LineBorderUIResource

      @ConstructorProperties({"lineColor","thickness"}) public LineBorderUIResource(Color color, int thickness)
      构造一个LineBorderUIResource
      参数:
      color - 边框的颜色
      thickness - 边框的厚度