public class MapCustomImageType extends java.lang.Object implements XMLable
构造器和说明 |
---|
MapCustomImageType() |
MapCustomImageType(java.awt.Image image) |
限定符和类型 | 方法和说明 |
---|---|
void |
addMapShapeValue(MapShapeValue shapeValue) |
void |
clear() |
java.lang.Object |
clone() |
MapShapeValue |
get(int index) |
java.awt.Image |
getMapImage() |
java.lang.String |
getMapName() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setMapImage(java.awt.Image image) |
void |
setMapName(java.lang.String name) |
int |
size() |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public MapCustomImageType()
public MapCustomImageType(java.awt.Image image)
public java.lang.String getMapName()
public void setMapName(java.lang.String name)
public java.awt.Image getMapImage()
public void setMapImage(java.awt.Image image)
public void addMapShapeValue(MapShapeValue shapeValue)
public int size()
public void clear()
public MapShapeValue get(int index)
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
- 如果克隆失败则抛出此异常