Interface FromToModel

    • Method Detail

      • getSeries

        Comparable<?> getSeries​(int index)
        Get a series of the specified index;
      • getDataCount

        int getDataCount​(Comparable<?> series)
        Get data count of a specified series.
        Parameters:
        series - the specified series.
      • getFrom

        String getFrom​(Comparable<?> series,
                       int index)
        Get from value of a specified series and data index.
        Parameters:
        series - the series.
        index - the data index.
      • getTo

        String getTo​(Comparable<?> series,
                     int index)
        Get to value of a specified series and data index.
        Parameters:
        series - the series.
        index - the data index.
      • setValue

        void setValue​(Comparable<?> series,
                      String from,
                      String to,
                      int index)
        Replace the value of the new (from, to) into a series at specified index.
        Parameters:
        series - the series.
        from - the from value.
        to - the to value.
        index - the data index.
      • addValue

        void addValue​(Comparable<?> series,
                      String from,
                      String to)
        Append a (from, to) into a series.
        Parameters:
        series - the series.
        from - the from value.
        to - the to value.
      • addValue

        void addValue​(Comparable<?> series,
                      String from,
                      String to,
                      int index)
        Add a (from, to) into a series at specified index.
        Parameters:
        series - the series.
        from - the from value.
        to - the to value.
        index - the data index.
      • setAutoSort

        @Deprecated
        void setAutoSort​(boolean auto)
        Deprecated.
        since 7.2.2.0. Added by mistake
        Set model to autosort on x value for each series.
      • isAutoSort

        @Deprecated
        boolean isAutoSort()
        Deprecated.
        since 7.2.2.0. Added by mistake
        check whether to autosort on x value for each series; default is true.
      • removeSeries

        void removeSeries​(Comparable<?> series)
        /** Remove data of a specified series.
        Parameters:
        series - the series
      • removeValue

        void removeValue​(Comparable<?> series,
                         int index)
        Remove (from, to) value of a specified series and data index.
        Parameters:
        series - the series.
        index - the data index.
      • clear

        void clear()
        clear this model.