- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EtchedBorder
-
- javax.swing.plaf.BorderUIResource.EtchedBorderUIResource
-
- 实现的所有接口
-
Serializable
,Border
,UIResource
- Enclosing class:
- BorderUIResource
public static class BorderUIResource.EtchedBorderUIResourceextends EtchedBorderimplements UIResource
蚀刻的边框UI资源。- 另请参见:
- Serialized Form
-
-
构造方法摘要
构造方法 构造器 描述 EtchedBorderUIResource()
构造一个EtchedBorderUIResource
。EtchedBorderUIResource(int etchType)
构造一个EtchedBorderUIResource
。EtchedBorderUIResource(int etchType, Color highlight, Color shadow)
构造一个EtchedBorderUIResource
。EtchedBorderUIResource(Color highlight, Color shadow)
构造一个EtchedBorderUIResource
。
-
方法摘要
-
声明方法的类 javax.swing.border.EtchedBorder
getBorderInsets, getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaque, paintBorder
-
声明方法的类 javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
-
-
-
构造方法详细信息
-
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
- 用于蚀刻阴影的颜色
-
-