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

Class BorderUIResource.BevelBorderUIResource

    • 构造方法详细信息

      • BevelBorderUIResource

        public BevelBorderUIResource​(int bevelType)
        构造一个 BevelBorderUIResource
        参数
        bevelType - 边框的斜面类型
      • BevelBorderUIResource

        public BevelBorderUIResource​(int bevelType,
                                     Color highlight,
                                     Color shadow)
        构造一个 BevelBorderUIResource
        参数
        bevelType - 边框的斜面类型
        highlight - 用于斜面突出显示的颜色
        shadow - 用于斜面阴影的颜色
      • BevelBorderUIResource

        @ConstructorProperties({"bevelType","highlightOuterColor","highlightInnerColor","shadowOuterColor","shadowInnerColor"})
        public BevelBorderUIResource​(int bevelType,
                                     Color highlightOuter,
                                     Color highlightInner,
                                     Color shadowOuter,
                                     Color shadowInner)
        构造一个 BevelBorderUIResource
        参数
        bevelType - 边框的斜面类型
        highlightOuter - 用于斜面外部高光的颜色
        highlightInner - 用于斜面内部高光的颜色
        shadowOuter - 用于斜面外阴影的颜色
        shadowInner - the color to use for the bevel inner shadow