勇敢心资源网

当前位置:首页 > 百科 / 正文

LineBorder

(2020-03-16 21:34:49) 百科
LineBorder

LineBorder

所有已实现的接口:Serializable, Border
直接已知子类:BorderUIResource.LineBorderUIResource
public class LineBorderextends AbstractBorder
实现单色、任意厚度线框线的类。 警告:此类的已序列化对象与以后的 Swing 版本不兼容。当前序列化支持适用于短期存储,或适用于在运行相同 Swing 版本的应用程式之间进行 RMI(Remote Method Invocation,远程方法调用)。从 1.4 版本开始,已在 java.beans 包中添加了支持所有 JavaBeans 长期存储的功能。请参见 XMLEncoder。
栏位摘要
protected Color
lineColor
protected boolean
roundedCorners
protected int
thickness
构造方法摘要
LineBorder(Color color)
创建具有指定颜色、厚度为 1(thickness = 1)的线框线。
LineBorder(Color color, int thickness)
创建具有指定颜色和厚度的线框线。
LineBorder(Color color, int thickness, boolean roundedCorners)
创建具有指定颜色、厚度和拐角形状的线条框线。
从类 javax.swing.border.AbstractBorder继承的方法
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle
从类 java.lang.Object继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
声明:此文信息来源于网络,登载此文只为提供信息参考,并不用于任何商业目的。如有侵权,请及时联系我们:baisebaisebaise@yeah.net
搜索
随机推荐

勇敢心资源网|豫ICP备19027550号