Class DciContainerConfiguration


  • public class DciContainerConfiguration
    extends Object
    Base class for all DCI configuration for line
    • Constructor Detail

      • DciContainerConfiguration

        public DciContainerConfiguration()
    • Method Detail

      • createFromXml

        public static DciContainerConfiguration createFromXml​(String xml)
                                                       throws Exception
        Create DCI list object from XML document
        Parameters:
        xml - XML document
        Returns:
        deserialized object
        Throws:
        Exception - if the object cannot be fully deserialized
      • createXml

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

        public void setDciList​(SingleDciConfig[] dciList)
        Parameters:
        dciList - the dciList to set
      • 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