- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.BevelBorder
-
- javax.swing.plaf.BorderUIResource.BevelBorderUIResource
-
- All Implemented Interfaces:
-
Serializable
,Border
,UIResource
- Enclosing class:
- BorderUIResource
public static class BorderUIResource.BevelBorderUIResource extends BevelBorder implements UIResource
斜角边界UI资源。- 另请参见:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.border.BevelBorder
bevelType, highlightInner, highlightOuter, LOWERED, RAISED, shadowInner, shadowOuter
-
-
构造方法摘要
构造方法 Constructor 描述 BevelBorderUIResource(int bevelType)
构造一个BevelBorderUIResource
。BevelBorderUIResource(int bevelType, Color highlight, Color shadow)
构造一个BevelBorderUIResource
。BevelBorderUIResource(int bevelType, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner)
构造一个BevelBorderUIResource
。
-
方法摘要
-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Methods inherited from class javax.swing.border.BevelBorder
getBevelType, getBorderInsets, getHighlightInnerColor, getHighlightInnerColor, getHighlightOuterColor, getHighlightOuterColor, getShadowInnerColor, getShadowInnerColor, getShadowOuterColor, getShadowOuterColor, isBorderOpaque, paintBorder, paintLoweredBevel, paintRaisedBevel
-
-
-
-
构造方法详细信息
-
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
-
-