public class Theme extends java.lang.Object implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
JSONObject |
createJSONObject() |
java.lang.String |
getJavaScriptPath() |
java.lang.String |
getName() |
java.lang.String |
getStylePath() |
boolean |
isCustom() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setCustom(boolean custom) |
void |
setJavaScriptPath(java.lang.String javaScriptPath) |
void |
setStylePath(java.lang.String stylePath) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static final java.lang.String XML_TAG
public Theme()
public Theme(java.lang.String name)
public Theme(java.lang.String name, boolean custom)
public java.lang.String getName()
public boolean isCustom()
public void setCustom(boolean custom)
public JSONObject createJSONObject() throws JSONException
JSONException
public java.lang.String getJavaScriptPath()
public void setJavaScriptPath(java.lang.String javaScriptPath)
public java.lang.String getStylePath()
public void setStylePath(java.lang.String stylePath)
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常