public class LayoutBorderStyle extends java.lang.Object implements java.lang.Cloneable, java.io.Serializable, XMLable
限定符和类型 | 字段和说明 |
---|---|
protected float |
alpha |
protected Background |
background |
static int |
NORMAL |
static int |
SHADOWS |
static int |
STANDARD |
static int |
TITLE |
构造器和说明 |
---|
LayoutBorderStyle()
构造函数
|
LayoutBorderStyle(int border,
java.awt.Color color,
int borderRadius)
构造函数
|
LayoutBorderStyle(int border,
java.awt.Color color,
int borderRadius,
int type,
int borderStyle)
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone()
克隆
|
void |
createJSONConfig(Repository repo,
JSONObject jo)
输出边框为json格式
|
boolean |
equals(java.lang.Object obj)
equals
|
float |
getAlpha()
获取透明度
|
Background |
getBackground()
获取背景
|
int |
getBorder()
获取边框线型
|
int |
getBorderRadius()
获取圆角半径
|
java.lang.String |
getBorderShadow()
返回输出web端的样式中的边框阴影
|
int |
getBorderStyle()
获取渲染样式
|
java.awt.Color |
getColor()
获取边框颜色
|
WidgetTitle |
getTitle()
获取标题
|
int |
getType()
获取边框类型
|
void |
paint(java.awt.Graphics g,
java.awt.geom.Rectangle2D.Double double1)
绘制边框样式
|
void |
readXML(XMLableReader reader)
读取xml
|
void |
reset()
重置属性
|
void |
setAlpha(float alpha)
设置透明度
|
void |
setBackground(Background background)
设置主体背景
|
void |
setBorder(int border)
设置边框线型
|
void |
setBorderRadius(int borderRadius)
设置圆角半径
|
void |
setBorderStyle(int borderStyle)
设置渲染样式
|
void |
setColor(java.awt.Color color)
设置边框颜色
|
void |
setStyle(LayoutBorderStyle style)
设置样式
|
void |
setTitle(WidgetTitle title)
设置标题
|
void |
setType(int type)
设置边框类型
|
void |
writeXML(XMLPrintWriter writer)
输出xml
|
public static final int STANDARD
public static final int TITLE
public static final int NORMAL
public static final int SHADOWS
protected Background background
protected float alpha
public LayoutBorderStyle()
public LayoutBorderStyle(int border, java.awt.Color color, int borderRadius)
public LayoutBorderStyle(int border, java.awt.Color color, int borderRadius, int type, int borderStyle)
public void reset()
public void setStyle(LayoutBorderStyle style)
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
public int getBorderRadius()
public void setBorderRadius(int borderRadius)
public int getBorder()
public void setBorder(int border)
public int getType()
public void setType(int type)
public int getBorderStyle()
public void setBorderStyle(int borderStyle)
public Background getBackground()
public void setBackground(Background background)
public float getAlpha()
public void setAlpha(float alpha)
public void setTitle(WidgetTitle title)
title
- 标题public WidgetTitle getTitle()
public java.lang.String getBorderShadow()
public void createJSONConfig(Repository repo, JSONObject jo) throws JSONException
repo
- 浏览器信息jo
- 输出的对象JSONException
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void readXML(XMLableReader reader)
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
public void paint(java.awt.Graphics g, java.awt.geom.Rectangle2D.Double double1)