public class SystemStyle extends UniqueKey implements XMLable
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
XML_TAG |
| 构造器和说明 |
|---|
SystemStyle() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
clone() |
void |
fillAttrToMap(java.util.Map<java.lang.String,java.lang.Object> map)
填充样式属性
|
int |
getColorScheme()
获取配色
|
java.lang.String |
getCustomColors()
获取自定义配色
|
JSONArray |
getCustomColorsAsArray() |
java.lang.String |
getFolderIconById(long id)
获取目录字体图标编码
|
JSONObject |
getFolderIcons() |
void |
readXML(XMLableReader reader)
已过时。
|
void |
setColorScheme(int colorScheme)
设置配色
|
void |
setCustomColors(java.lang.String customColors)
设置自定义配色
|
void |
setFolderIconById(long id,
java.lang.String icon)
根据目录设置显示图标
|
void |
setFolderIconById(java.lang.String id,
java.lang.String icon)
根据目录设置显示图标
|
void |
setFolderIconByString(java.lang.String folderIconString) |
void |
writeXML(XMLPrintWriter writer)
已过时。
|
copy, getId, getNameSpace, setId, setNameSpacegetClassInfo, getData, invalidate, isLoad, setClassInfo, setDatapublic static final java.lang.String XML_TAG
public int getColorScheme()
public void setColorScheme(int colorScheme)
colorScheme - 配色编号public JSONObject getFolderIcons()
public java.lang.String getFolderIconById(long id)
throws JSONException
id - 目录 IDJSONException - 异常public void setFolderIconById(java.lang.String id,
java.lang.String icon)
throws JSONException
id - 目录 IDicon - 图标 unicode 编码JSONException - 异常public void setFolderIconById(long id,
java.lang.String icon)
throws JSONException
id - 目录 IDicon - 图标 unicode 编码JSONException - 异常public void setFolderIconByString(java.lang.String folderIconString)
throws JSONException
JSONExceptionpublic void setCustomColors(java.lang.String customColors)
throws JSONException
customColors - 自定义配色JSONExceptionpublic java.lang.String getCustomColors()
throws JSONException
JSONExceptionpublic JSONArray getCustomColorsAsArray() throws JSONException
JSONExceptionpublic void fillAttrToMap(java.util.Map<java.lang.String,java.lang.Object> map)
throws JSONException
map - 输出mapJSONException@Deprecated public void readXML(XMLableReader reader)
XMLReadablereadXML 在接口中 XMLReadablereader - XML读取对象XMLableReader@Deprecated public void writeXML(XMLPrintWriter writer)
XMLWriterpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 FCloneableclone 在类中 UniqueKeyjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常