public class ColorSelectConfigManager extends java.lang.Object implements XMLReadable
构造器和说明 |
---|
ColorSelectConfigManager() |
限定符和类型 | 方法和说明 |
---|---|
void |
addToColorQueue(java.awt.Color color)
添加颜色到最近使用队列中
|
int |
getColorNum() |
java.awt.Color[] |
getColors() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setColorNum(int colorNum) |
void |
setColorsToFile(java.util.List<java.awt.Color> colors) |
void |
writeXML(XMLPrintWriter writer) |
public java.awt.Color[] getColors()
public int getColorNum()
public void setColorNum(int colorNum)
public void addToColorQueue(java.awt.Color color)
color
- 颜色public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
public void setColorsToFile(java.util.List<java.awt.Color> colors)