public class DrillMapTools extends java.lang.Object implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static FRFont |
DEFAULT_FONT |
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
DrillMapTools() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object ob)
比较和Object是否相等
|
GeneralInfo |
getBackgroundInfo() |
GeneralInfo |
getSelectBackgroundInfo() |
TextAttr |
getTextAttr() |
boolean |
isEnable() |
void |
readXML(XMLableReader xmLableReader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setBackgroundInfo(GeneralInfo backgroundInfo) |
void |
setEnable(boolean enable) |
void |
setSelectBackgroundInfo(GeneralInfo selectBackgroundInfo) |
void |
setTextAttr(TextAttr textAttr) |
JSONObject |
toJSONObject(Repository repo) |
void |
writeXML(XMLPrintWriter xmlPrintWriter)
Write XML.
|
public static final java.lang.String XML_TAG
public static final FRFont DEFAULT_FONT
public boolean isEnable()
public void setEnable(boolean enable)
public TextAttr getTextAttr()
public void setTextAttr(TextAttr textAttr)
public GeneralInfo getBackgroundInfo()
public void setBackgroundInfo(GeneralInfo backgroundInfo)
public GeneralInfo getSelectBackgroundInfo()
public void setSelectBackgroundInfo(GeneralInfo selectBackgroundInfo)
public void readXML(XMLableReader xmLableReader)
XMLReadable
readXML
在接口中 XMLReadable
xmLableReader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter xmlPrintWriter)
XMLWriter
public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
ob
- 用 于比较的Objectpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public JSONObject toJSONObject(Repository repo) throws JSONException
JSONException