Class Mat5ArrayToString

    • Field Detail

      • m_Compact

        protected boolean m_Compact
        whether to output compact string (ie no blanks).
      • m_NumDecimals

        protected int m_NumDecimals
        the number of decimals.
    • Constructor Detail

      • Mat5ArrayToString

        public Mat5ArrayToString()
    • Method Detail

      • setElementType

        public void setElementType​(ArrayElementType value)
        Sets the type of the element in the array.
        Parameters:
        value - the type
      • getElementType

        public ArrayElementType getElementType()
        Returns the type of the element in the array.
        Returns:
        the type
      • elementTypeTipText

        public String elementTypeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setCompact

        public void setCompact​(boolean value)
        Sets whether to output compact format (ie no spaces).
        Parameters:
        value - true if compact
      • getCompact

        public boolean getCompact()
        Returns whether to output compact format (ie no spaces).
        Returns:
        true if compact
      • compactTipText

        public String compactTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setNumDecimals

        public void setNumDecimals​(int value)
        Sets the number of decimals after the decimal point to use.
        Parameters:
        value - the number of decimals, -1 is automatic
      • getNumDecimals

        public int getNumDecimals()
        Returns the number of decimals after the decimal point to use.
        Returns:
        the number of decimals, -1 is automatic
      • numDecimalsTipText

        public String numDecimalsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • checkData

        protected String checkData()
        Checks whether the data can be processed.
        Overrides:
        checkData in class AbstractConversion
        Returns:
        null if checks passed, otherwise error message