public class TrendLine extends java.lang.Object implements XMLable
构造器和说明 |
---|
TrendLine() |
TrendLine(ChartEquationType equation) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
ChartEquationType |
getEquation() |
LineStyleInfo |
getLineStyleInfo() |
int |
getMoveAverage() |
int |
getSquare() |
java.lang.String |
getTrendLineName() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setEquation(ChartEquationType equation) |
void |
setLineStyleInfo(LineStyleInfo lineStyleInfo) |
void |
setMoveAverage(int moveAverage) |
void |
setTrendLineName(java.lang.String trendLineName) |
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public TrendLine()
public TrendLine(ChartEquationType equation)
public void setEquation(ChartEquationType equation)
public ChartEquationType getEquation()
public int getSquare()
public void setMoveAverage(int moveAverage)
public int getMoveAverage()
public void setTrendLineName(java.lang.String trendLineName)
public java.lang.String getTrendLineName()
public void setLineStyleInfo(LineStyleInfo lineStyleInfo)
public LineStyleInfo getLineStyleInfo()
public java.lang.Object clone()
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public JSONObject toJSONObject(Repository repo) throws JSONException
repo
- 请求JSONException
- 抛错public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object