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资源。
-
Field Summary
-
Constructor Summary
ConstructorDescription构造一个EtchedBorderUIResource
。EtchedBorderUIResource
(int etchType) 构造一个EtchedBorderUIResource
。EtchedBorderUIResource
(int etchType, Color highlight, Color shadow) 构造一个EtchedBorderUIResource
。EtchedBorderUIResource
(Color highlight, Color shadow) 构造一个EtchedBorderUIResource
。 -
Method Summary
Methods declared in class javax.swing.border.EtchedBorder
getBorderInsets, getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque, paintBorder
Methods declared in class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Constructor Details
-
EtchedBorderUIResource
public EtchedBorderUIResource()构造一个EtchedBorderUIResource
。 -
EtchedBorderUIResource
public EtchedBorderUIResource(int etchType) 构造一个EtchedBorderUIResource
。- 参数:
-
etchType
- 边框绘制的浮雕类型
-
EtchedBorderUIResource
构造一个EtchedBorderUIResource
。- 参数:
-
highlight
- 用于浮雕高亮的颜色 -
shadow
- 用于浮雕阴影的颜色
-
EtchedBorderUIResource
@ConstructorProperties({"etchType","highlightColor","shadowColor"}) public EtchedBorderUIResource(int etchType, Color highlight, Color shadow) 构造一个EtchedBorderUIResource
。- 参数:
-
etchType
- 边框绘制的浮雕类型 -
highlight
- 用于浮雕高亮的颜色 -
shadow
- 用于浮雕阴影的颜色
-