- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.BevelBorder
-
- javax.swing.plaf.BorderUIResource.BevelBorderUIResource
-
- 实现的所有接口
-
Serializable
,Border
,UIResource
- Enclosing class:
- BorderUIResource
public static class BorderUIResource.BevelBorderUIResourceextends BevelBorderimplements UIResource
斜角边框UI资源。- 另请参见:
- Serialized Form
-
-
字段汇总
-
声明的属性在类 javax.swing.border.BevelBorder
bevelType, highlightInner, highlightOuter, LOWERED, RAISED, shadowInner, shadowOuter
-
-
构造方法摘要
构造方法 构造器 描述 BevelBorderUIResource(int bevelType)
构造一个BevelBorderUIResource
。BevelBorderUIResource(int bevelType, Color highlight, Color shadow)
构造一个BevelBorderUIResource
。BevelBorderUIResource(int bevelType, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner)
构造一个BevelBorderUIResource
。
-
方法摘要
-
声明方法的类 javax.swing.border.BevelBorder
getBevelType, getBorderInsets, getHighlightInnerColor, getHighlightInnerColor, getHighlightOuterColor, getHighlightOuterColor, getShadowInnerColor, getShadowInnerColor, getShadowOuterColor, getShadowOuterColor, isBorderOpaque, paintBorder, paintLoweredBevel, paintRaisedBevel
-
声明方法的类 javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
-
-
-
构造方法详细信息
-
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
-
-