public class DciContainerConfiguration extends Object
Constructor and Description |
---|
DciContainerConfiguration() |
Modifier and Type | Method and Description |
---|---|
static DciContainerConfiguration |
createFromXml(String xml)
Create DCI list object from XML document
|
String |
createXml()
Create XML from configuration.
|
int |
getBackgroundColor() |
int |
getBorderColor() |
SingleDciConfig[] |
getDciList() |
int |
getTextColor() |
boolean |
isBorderRequired() |
void |
setBackgroundColor(int backgroundColor) |
void |
setBorderColor(int borderColor) |
void |
setBorderRequired(boolean borderRequired) |
void |
setDciList(SingleDciConfig[] dciList) |
void |
setTextColor(int textColor) |
public static DciContainerConfiguration createFromXml(String xml) throws Exception
xml
- XML documentException
- if the object cannot be fully deserializedpublic String createXml() throws Exception
Exception
- if the schema for the object is not validpublic SingleDciConfig[] getDciList()
public void setDciList(SingleDciConfig[] dciList)
dciList
- the dciList to setpublic int getBackgroundColor()
public void setBackgroundColor(int backgroundColor)
backgroundColor
- the backgroundColor to setpublic int getTextColor()
public void setTextColor(int textColor)
textColor
- the textColor to setpublic int getBorderColor()
public void setBorderColor(int borderColor)
borderColor
- the borderColor to setpublic boolean isBorderRequired()
public void setBorderRequired(boolean borderRequired)
borderRequired
- the borderRequired to setCopyright © 2016. All rights reserved.