- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EtchedBorder
-
- javax.swing.plaf.BorderUIResource.EtchedBorderUIResource
-
- All Implemented Interfaces:
-
Serializable
,Border
,UIResource
- Enclosing class:
- BorderUIResource
public static class BorderUIResource.EtchedBorderUIResource extends EtchedBorder implements UIResource
蚀刻的边界UI资源。- 另请参见:
- Serialized Form
-
-
构造方法摘要
构造方法 Constructor 描述 EtchedBorderUIResource()
构造一个EtchedBorderUIResource
。EtchedBorderUIResource(int etchType)
构造一个EtchedBorderUIResource
。EtchedBorderUIResource(int etchType, Color highlight, Color shadow)
构造一个EtchedBorderUIResource
。EtchedBorderUIResource(Color highlight, Color shadow)
构造一个EtchedBorderUIResource
。
-
方法摘要
-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Methods inherited from class javax.swing.border.EtchedBorder
getBorderInsets, getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque, paintBorder
-
-
-
-
构造方法详细信息
-
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
- 蚀刻阴影使用的颜色
-
-