public class LineDescription extends java.lang.Object implements FCloneable
构造器和说明 |
---|
LineDescription() |
LineDescription(int lineStyle,
java.awt.Color color) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor nodeVisitor)
以JSONObject方式返回Widget的配置信息
|
java.awt.Color |
getColor() |
int |
getLineStyle() |
void |
setColor(java.awt.Color color) |
void |
setLineStyle(int lineStyle) |
public LineDescription()
public LineDescription(int lineStyle, java.awt.Color color)
public int getLineStyle()
public void setLineStyle(int lineStyle)
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor nodeVisitor) throws JSONException
repo
- 参数repoc
- 指定解析器nodeVisitor
- 节点访问JSONException
- 异常public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常