Class RelativeDatasetIndexFill

  • All Implemented Interfaces:
    Key, IsFill

    public final class RelativeDatasetIndexFill
    extends Object
    Fill object to configure chart to use a relative dataset index.
    Relative dataset index, as string, is composed by sign and value, both mandatory.
    Here are same examples: ("-1", "-2", "+1", "+2",...).
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • value

        public String value()
        Description copied from interface: Key
        Returns the name value of property
        Returns:
        the name value of property
      • getMode

        public final FillingMode getMode()
        Description copied from interface: IsFill
        Returns the type of filling.
        Specified by:
        getMode in interface IsFill
        Returns:
        the type of filling.
      • getValueAsInt

        public int getValueAsInt()
        Description copied from interface: IsFill
        Returns the value as integer (valid ONLY for absolute dataset index), otherwise Undefined.INTEGER.
        Specified by:
        getValueAsInt in interface IsFill
        Returns:
        the value as integer (valid ONLY for absolute dataset index), otherwise Undefined.INTEGER.
      • getValue

        public String getValue()
        Description copied from interface: IsFill
        Returns the value as string (valid ONLY for relative dataset index and predefined), otherwise Undefined.STRING.
        Specified by:
        getValue in interface IsFill
        Returns:
        the value as string (valid ONLY for relative dataset index and predefined), otherwise Undefined.STRING.