public class TextBoxConfig extends Object
| Constructor and Description |
|---|
TextBoxConfig() |
| Modifier and Type | Method and Description |
|---|---|
static TextBoxConfig |
createFromXml(String xml)
Create text box element from xml document
|
String |
createXml()
Create XML from configuration
|
int |
getBackgroundColor() |
int |
getBorderColor() |
long |
getDrillDownObjectId() |
int |
getFontSize() |
String |
getText() |
int |
getTextColor() |
boolean |
isBorderRequired() |
void |
setBackgroundColor(int backgroundColor) |
void |
setBorderColor(int borderColor) |
void |
setBorderRequired(boolean borderRequired) |
void |
setDrillDownObjectId(long drillDownObjectId) |
void |
setFontSize(int fontSize) |
void |
setText(String text) |
void |
setTextColor(int textColor) |
public static TextBoxConfig createFromXml(String xml) throws Exception
xml - Exceptionpublic String createXml() throws Exception
Exception - if the schema for the object is not validpublic String getText()
public void setText(String text)
public 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 setpublic int getFontSize()
public void setFontSize(int fontSize)
fontSize - to setpublic long getDrillDownObjectId()
public void setDrillDownObjectId(long drillDownObjectId)
drillDownObjectId - to setCopyright © 2018. All rights reserved.