public class GanttAxisStyleAttr extends java.lang.Object implements XMLable
| 构造器和说明 |
|---|
GanttAxisStyleAttr() |
GanttAxisStyleAttr(java.awt.Color foreground,
java.awt.Color backgroundColor,
double alpha) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object ob) |
double |
getAlpha() |
java.awt.Color |
getBackgroundColor() |
TextAttr |
getTextAttr() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setAlpha(double alpha) |
void |
setBackgroundColor(java.awt.Color backgroundColor) |
void |
setTextAttr(TextAttr textAttr) |
JSONObject |
toJSONObject(Repository repo) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public GanttAxisStyleAttr()
public GanttAxisStyleAttr(java.awt.Color foreground,
java.awt.Color backgroundColor,
double alpha)
public TextAttr getTextAttr()
public void setTextAttr(TextAttr textAttr)
public java.awt.Color getBackgroundColor()
public void setBackgroundColor(java.awt.Color backgroundColor)
public double getAlpha()
public void setAlpha(double alpha)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 FCloneableclone 在类中 java.lang.Objectjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常public boolean equals(java.lang.Object ob)
equals 在类中 java.lang.Objectpublic void readXML(XMLableReader reader)
XMLReadablereadXML 在接口中 XMLReadablereader - XML读取对象XMLableReaderpublic void writeXML(XMLPrintWriter writer)
XMLWriterpublic JSONObject toJSONObject(Repository repo) throws JSONException
JSONException