Class TextBoxConfig


  • public class TextBoxConfig
    extends Object
    Text box element config
    • Constructor Detail

      • TextBoxConfig

        public TextBoxConfig()
    • Method Detail

      • createFromXml

        public static TextBoxConfig createFromXml​(String xml)
                                           throws Exception
        Create text box element from XML document
        Parameters:
        xml - XML document
        Returns:
        deserialized text box element
        Throws:
        Exception - if deserialization error occurs
      • createXml

        public String createXml()
                         throws Exception
        Create XML from configuration
        Returns:
        XML document
        Throws:
        Exception - if the schema for the object is not valid
      • getText

        public String getText()
      • setText

        public void setText​(String text)
      • 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