Module java.desktop
Package javax.swing.plaf

Class BorderUIResource.EtchedBorderUIResource

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

public static class BorderUIResource.EtchedBorderUIResource extends EtchedBorder implements UIResource
一个浮雕边框UI资源。
  • Constructor Details

    • EtchedBorderUIResource

      public EtchedBorderUIResource()
      构造一个EtchedBorderUIResource
    • EtchedBorderUIResource

      public EtchedBorderUIResource(int etchType)
      构造一个EtchedBorderUIResource
      参数:
      etchType - 边框绘制的浮雕类型
    • EtchedBorderUIResource

      public EtchedBorderUIResource(Color highlight, Color shadow)
      构造一个EtchedBorderUIResource
      参数:
      highlight - 用于浮雕高亮的颜色
      shadow - 用于浮雕阴影的颜色
    • EtchedBorderUIResource

      @ConstructorProperties({"etchType","highlightColor","shadowColor"}) public EtchedBorderUIResource(int etchType, Color highlight, Color shadow)
      构造一个EtchedBorderUIResource
      参数:
      etchType - 边框绘制的浮雕类型
      highlight - 用于浮雕高亮的颜色
      shadow - 用于浮雕阴影的颜色