Class NetworkMapTextBox


  • public class NetworkMapTextBox
    extends NetworkMapElement
    Network map element representing a text box
    • Constructor Detail

      • NetworkMapTextBox

        protected NetworkMapTextBox​(org.netxms.base.NXCPMessage msg,
                                    long baseId)
        Create new text box from NXCPMessgae
        Parameters:
        msg -
        baseId -
      • NetworkMapTextBox

        public NetworkMapTextBox​(long id)
        Create new text box element
        Parameters:
        id - element ID
    • Method Detail

      • 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
      • getText

        public String getText()
        Returns:
        text
      • setText

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