Package org.netxms.client.maps.configs
Class TextBoxConfig
java.lang.Object
org.netxms.client.maps.configs.TextBoxConfig
Text box element config
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate XML from configurationint
int
long
int
getText()
int
boolean
void
setBackgroundColor
(int backgroundColor) void
setBorderColor
(int borderColor) void
setBorderRequired
(boolean borderRequired) void
setDrillDownObjectId
(long drillDownObjectId) void
setFontSize
(int fontSize) void
void
setTextColor
(int textColor)
-
Constructor Details
-
TextBoxConfig
public TextBoxConfig()
-
-
Method Details
-
createXml
Create XML from configuration- Returns:
- XML document
- Throws:
Exception
- if the schema for the object is not valid
-
getText
-
setText
-
getBackgroundColor
public int getBackgroundColor()- Returns:
- the backgroundColor
-
setBackgroundColor
public void setBackgroundColor(int backgroundColor) - Parameters:
backgroundColor
- the backgroundColor to set
-
getTextColor
public int getTextColor()- Returns:
- the textColor
-
setTextColor
public void setTextColor(int textColor) - Parameters:
textColor
- the textColor to set
-
getBorderColor
public int getBorderColor()- Returns:
- the borderColor
-
setBorderColor
public void setBorderColor(int borderColor) - Parameters:
borderColor
- the borderColor to set
-
isBorderRequired
public boolean isBorderRequired()- Returns:
- the borderRequired
-
setBorderRequired
public void setBorderRequired(boolean borderRequired) - Parameters:
borderRequired
- the borderRequired to set
-
getFontSize
public int getFontSize()- Returns:
- font size
-
setFontSize
public void setFontSize(int fontSize) - Parameters:
fontSize
- to set
-
getDrillDownObjectId
public long getDrillDownObjectId()- Returns:
- drill down object id
-
setDrillDownObjectId
public void setDrillDownObjectId(long drillDownObjectId) - Parameters:
drillDownObjectId
- to set
-