Module  java.desktop
软件包  javax.swing.plaf

Class BorderUIResource.EtchedBorderUIResource

    • 构造方法详细信息

      • 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 - 蚀刻阴影使用的颜色