Class AbstractMarkupParameters

    • Constructor Detail

      • AbstractMarkupParameters

        public AbstractMarkupParameters()
    • Method Detail

      • fromString

        public void fromString​(String data)
        Description copied from interface: IParameters
        Parses the parameters stored into a string back into the object.
        Specified by:
        fromString in interface IParameters
        Parameters:
        data - the string holding the parameters. It must be formatted as the string generated by toString(). Line-breaks must be normalized to '\n'. It can also be null or empty, in such case the parameters are left with their current values. Use reset() to reset the parameters to their defaults.
      • toString

        public String toString()
        Description copied from interface: IParameters
        Converts the parameters into a string.
        Specified by:
        toString in interface IParameters
        Overrides:
        toString in class Object
        Returns:
        the string holding all the parameters.
      • reset

        public void reset()
        Description copied from interface: IParameters
        Reset the parameters to their default values.
        Specified by:
        reset in interface IParameters
      • getEditorTitle

        public String getEditorTitle()
        Gets the title to use with the parameter editor.
        Returns:
        the title to use with the parameter editor.
      • setEditorTitle

        public void setEditorTitle​(String title)
        Sets the title to use with the parameters editor.
        Parameters:
        title - the title to use with the parameters editor.
      • getTaggedConfig

        public TaggedFilterConfiguration getTaggedConfig()
        Gets the TaggedFilterConfiguration object for this parameters object.
        Returns:
        the TaggedFilterConfiguration object for this parameters object.
      • setTaggedConfig

        public void setTaggedConfig​(TaggedFilterConfiguration taggedConfig)
        Sets the TaggedFilterConfiguration object for this parameters object.
        Parameters:
        taggedConfig - the TaggedFilterConfiguration object for this parameters object.
      • getBoolean

        public boolean getBoolean​(String name)
        Description copied from interface: IParameters
        Gets the boolean value for the given parameter name.
        Specified by:
        getBoolean in interface IParameters
        Parameters:
        name - the name of the boolean parameter to retrieve.
        Returns:
        the value of the given parameter, or false if it is not defined.
      • setBoolean

        public void setBoolean​(String name,
                               boolean value)
        Description copied from interface: IParameters
        Sets the boolean value for a given parameter name.
        Specified by:
        setBoolean in interface IParameters
        Parameters:
        name - the name of the parameter to set.
        value - the new value to set.
      • getString

        public String getString​(String name)
        Description copied from interface: IParameters
        Gets the string value for a given parameter name.
        Specified by:
        getString in interface IParameters
        Parameters:
        name - the name of the string parameter to retrieve.
        Returns:
        the value of the given parameter, or null if it is not defined.
      • setString

        public void setString​(String name,
                              String value)
        Description copied from interface: IParameters
        Sets the string value for a given parameter name.
        Specified by:
        setString in interface IParameters
        Parameters:
        name - the name of the parameter to set.
        value - the new value to set.
      • getInteger

        public int getInteger​(String name)
        Description copied from interface: IParameters
        Gets the integer value for a given parameter name.
        Specified by:
        getInteger in interface IParameters
        Parameters:
        name - the name of the integer parameter to retrieve.
        Returns:
        the value of the given parameter, or 0 if it is not defined.
      • setInteger

        public void setInteger​(String name,
                               int value)
        Description copied from interface: IParameters
        Sets the integer value for a given parameter name.
        Specified by:
        setInteger in interface IParameters
        Parameters:
        name - the name of the parameter to set.
        value - the new value to set.