public class GanttTimeAxis extends java.lang.Object implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
GanttTimeAxis() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
GanttAxisStyleAttr |
getDownHeaderStyle() |
ZoomLevel |
getInitialZoomLevel() |
GanttAxisStyleAttr |
getUpHeaderStyle() |
boolean |
isTimeZoom() |
boolean |
isWeekendTooltip() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setDownHeaderStyle(GanttAxisStyleAttr downHeaderStyle) |
void |
setInitialZoomLevel(ZoomLevel initialZoomLevel) |
void |
setTimeZoom(boolean timeZoom) |
void |
setUpHeaderStyle(GanttAxisStyleAttr upHeaderStyle) |
void |
setWeekendTooltip(boolean weekendTooltip) |
JSONObject |
toJSONObject(Repository repository) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static final java.lang.String XML_TAG
public boolean isTimeZoom()
public void setTimeZoom(boolean timeZoom)
public ZoomLevel getInitialZoomLevel()
public void setInitialZoomLevel(ZoomLevel initialZoomLevel)
public boolean isWeekendTooltip()
public void setWeekendTooltip(boolean weekendTooltip)
public GanttAxisStyleAttr getUpHeaderStyle()
public void setUpHeaderStyle(GanttAxisStyleAttr upHeaderStyle)
public GanttAxisStyleAttr getDownHeaderStyle()
public void setDownHeaderStyle(GanttAxisStyleAttr downHeaderStyle)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public JSONObject toJSONObject(Repository repository) throws JSONException
JSONException