Class KStringStyled

  • All Implemented Interfaces:
    java.lang.Cloneable, java.lang.Comparable<KString>

    public class KStringStyled
    extends KString
    Styles KString used for parsing in the Editor to provide StyleRange's.
    Author:
    Christopher Mindus
    • Constructor Detail

      • KStringStyled

        public KStringStyled​(KString.Type type,
                             java.lang.String inputString,
                             boolean usesTagProcessing,
                             java.util.ArrayList<KStringStyleRange> styleRanges)
                      throws KStringException
        Constructor.
        Parameters:
        type - The type of KString.
        inputString - The string to parse.
        usesTagProcessing - Flag for tag usage.
        styleRanges - Array that is filled with KStringStyleRange's when parsed.
        Throws:
        KStringException - Failure in parsing.