public class ColorInfo extends java.lang.Object implements XMLable, StyleContactWithConditionCollection
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
ColorInfo() |
限定符和类型 | 方法和说明 |
---|---|
void |
changeStyleAttrAlpha(AttrAlpha attrAlpha)
透明度条件
|
void |
changeStyleAttrBackground(AttrBackground attrColor)
背景条件
|
void |
changeStyleAttrBorder(AttrBorder attrBorder)
边框条件
|
void |
changeStyleAttrColor(AttrColor attrColor)
根据条件属性集ConditionCollection和结果Result 改变ColorInfor中的属性
|
void |
changeStyleAttrContents(AttrContents attrContents)
内容条件
|
void |
changeStyleAttrLineStyle(AttrLineStyle attrLineStyle)
线型条件
|
java.lang.Object |
clone()
克隆
|
boolean |
equals(java.lang.Object ob)
比较和Object是否相等
|
AttrAlpha |
getSeriesAttrAlpha()
返回条件透明度
|
AttrBorder |
getSeriesAttrBorder()
返回条件边框
|
AttrColor |
getSeriesAttrColor()
返回条件颜色
|
void |
paint(java.awt.Graphics g,
java.awt.Shape shape)
绘画
|
void |
readXML(XMLableReader reader)
读取XML属性
|
void |
setSeriesAttrAlpha(AttrAlpha seriesAttrAlpha)
设置条件透明度
|
void |
setSeriesAttrBorder(AttrBorder seriesAttrBorder)
设置条件边框
|
void |
setSeriesAttrColor(AttrColor seriesAttrColor)
设置条件颜色
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
void |
writeXML(XMLPrintWriter writer)
输出XML属性
|
public static final java.lang.String XML_TAG
public void setSeriesAttrColor(AttrColor seriesAttrColor)
seriesAttrColor
- 条件颜色public AttrColor getSeriesAttrColor()
public void setSeriesAttrBorder(AttrBorder seriesAttrBorder)
seriesAttrBorder
- 条件边框public AttrBorder getSeriesAttrBorder()
public void setSeriesAttrAlpha(AttrAlpha seriesAttrAlpha)
seriesAttrAlpha
- 条件透明度public AttrAlpha getSeriesAttrAlpha()
public void changeStyleAttrColor(AttrColor attrColor)
changeStyleAttrColor
在接口中 StyleContactWithConditionCollection
attrColor
- 颜色条件public void changeStyleAttrAlpha(AttrAlpha attrAlpha)
changeStyleAttrAlpha
在接口中 StyleContactWithConditionCollection
attrAlpha
- 透明度条件public void changeStyleAttrBorder(AttrBorder attrBorder)
changeStyleAttrBorder
在接口中 StyleContactWithConditionCollection
attrBorder
- 边框条件public void changeStyleAttrContents(AttrContents attrContents)
changeStyleAttrContents
在接口中 StyleContactWithConditionCollection
attrContents
- 内容条件public void changeStyleAttrLineStyle(AttrLineStyle attrLineStyle)
changeStyleAttrLineStyle
在接口中 StyleContactWithConditionCollection
attrLineStyle
- 线型条件public void changeStyleAttrBackground(AttrBackground attrColor)
changeStyleAttrBackground
在接口中 StyleContactWithConditionCollection
attrColor
- 背景条件public void paint(java.awt.Graphics g, java.awt.Shape shape)
g
- 绘画的上下文shape
- 绘画的形状public void readXML(XMLableReader reader)
readXML
在接口中 XMLReadable
reader
- XML读取器XMLableReader
public void writeXML(XMLPrintWriter writer)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
ob
- 用 于比较的Objectpublic JSONObject toJSONObject(Repository repo) throws JSONException
repo
- 请求JSONException
- 抛错