Class Picture

    • Constructor Detail

      • Picture

        public Picture​(Element parent,
                       Node prevSibling)
    • Method Detail

      • formatString

        public boolean formatString​(java.lang.String sSource,
                                    java.lang.String sLocale,
                                    java.lang.StringBuilder sResult)
        formatString formats a data string using the defined picture formatting mask for current context.
        Parameters:
        sSource - - The data string to be formatted
        sLocale - The name of the locale
        sResult - - the StringBuilder to be formatted.
        Returns:
        true if successfully formatted, false otherwise.
      • getValue

        public java.lang.String getValue()
        Get the text stored in this element
        Returns:
        the text string
      • setNumericAttributes

        public void setNumericAttributes()
      • setValue

        public void setValue​(java.lang.String sText)
        Set the text value within this element
        Parameters:
        sText - a string to set/replace the text stored in this element
      • unformatString

        public java.lang.String unformatString​(java.lang.String sSource,
                                               java.lang.String sLocale,
                                               BooleanHolder pbSuccess)
        unformatString unformats a data string using the defined picture formatting mask for current context.
        Parameters:
        sSource - The data string to be unformatted
        sLocale - The locale in which to perform the unformatting
        pbSuccess - The result of the unformatting operation
        Returns:
        true if successfully parsed, false otherwise.