Class NetworkMapDCIContainer


  • public class NetworkMapDCIContainer
    extends NetworkMapElement
    Network map element representing NetXMS DCI container
    • Constructor Detail

      • NetworkMapDCIContainer

        protected NetworkMapDCIContainer​(org.netxms.base.NXCPMessage msg,
                                         long baseId)
        Parameters:
        msg -
        baseId -
      • NetworkMapDCIContainer

        public NetworkMapDCIContainer​(long id)
        Create new DCI container element
        Parameters:
        id - element ID
    • Method Detail

      • hasDciData

        public boolean hasDciData()
        Returns:
        returns if DCI list is not empty
      • getObjectDCIArray

        public SingleDciConfig[] getObjectDCIArray()
        Returns:
        the objectDCIList
      • setObjectDCIArray

        public void setObjectDCIArray​(SingleDciConfig[] dciArray)
        Setter for dciList
        Parameters:
        dciArray -
      • fillMessage

        public void fillMessage​(org.netxms.base.NXCPMessage msg,
                                long baseId)
        Description copied from class: NetworkMapElement
        Fill NXCP message with element data
        Overrides:
        fillMessage in class NetworkMapElement
        Parameters:
        msg - NXCP message
        baseId - base variable ID
      • 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