Methods
(async, static) fromXML(strXML, onlyStyle) → {boolean}
从XML导入
Parameters:
| Name | Type | Description |
|---|---|---|
strXML |
String | XML字符串 |
onlyStyle |
boolean | 支持仅导出样式 |
- Source:
Returns:
成功/失败 true/false
- Type
- boolean
(async, static) getIsBaseTheme() → {boolean}
是否是单值或者分段专题图
- Source:
Returns:
- Type
- boolean
(async, static) getName() → {String}
获取专题图名称
- Source:
Returns:
专题图名称
- Type
- String
(async, static) getType() → {int}
获取专题图类型
- Source:
Returns:
专题图类型,例 1-ThemeType.SimpleTheme
- Type
- int
(async, static) getVisible() → {boolean}
专题图可见性
- Source:
Returns:
- Type
- boolean
(async, static) setName(name) → {int}
设置专题图名称
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String | 专题图名称 |
- Source:
Returns:
1-成功 ;0-失败
- Type
- int
(async, static) setVisible(isVisible) → {int}
设置专题图可见性
Parameters:
| Name | Type | Description |
|---|---|---|
isVisible |
boolean | 专题图是否可见 |
- Source:
Returns:
1-成功 ;0-失败
- Type
- int
(async, static) toXML(onlyStyle) → {String}
存为XML
Parameters:
| Name | Type | Description |
|---|---|---|
onlyStyle |
boolean | 支持仅导出样式 |
- Source:
Returns:
XML字符串
- Type
- String