Class DefaultXYZModel

    • Constructor Detail

      • DefaultXYZModel

        public DefaultXYZModel()
    • Method Detail

      • addValue

        public void addValue​(Comparable<?> series,
                             Number x,
                             Number y)
        Not supported since we need not only x, y, but also z information.
        Specified by:
        addValue in interface XYModel
        Overrides:
        addValue in class DefaultXYModel
        Parameters:
        series - the series.
        x - the x value.
        y - the y value.
      • addValue

        public void addValue​(Comparable<?> series,
                             Number x,
                             Number y,
                             int index)
        Not supported since we need not only x, y, but also z information.
        Specified by:
        addValue in interface XYModel
        Overrides:
        addValue in class DefaultXYModel
        Parameters:
        series - the series.
        x - the x value.
        y - the y value.
        index - the data index.
      • setValue

        public void setValue​(Comparable<?> series,
                             Number x,
                             Number y,
                             int index)
        Not supported since we need not only x, y, but also z information.
        Specified by:
        setValue in interface XYModel
        Overrides:
        setValue in class DefaultXYModel
        Parameters:
        series - the series
        x - the x value
        y - the y value
        index - the data index
      • getZ

        public Number getZ​(Comparable<?> series,
                           int index)
        Description copied from interface: XYZModel
        Get Z value of a specified series and data index.
        Specified by:
        getZ in interface XYZModel
        Parameters:
        series - the series.
        index - the data index.
      • addValue

        public void addValue​(Comparable<?> series,
                             Number x,
                             Number y,
                             Number z)
        Description copied from interface: XYZModel
        Append an (x,y,z) into a series.
        Specified by:
        addValue in interface XYZModel
        Parameters:
        series - the series.
        x - the x value.
        y - the y value.
        z - the z value.
      • setValue

        public void setValue​(Comparable<?> series,
                             Number x,
                             Number y,
                             Number z,
                             int index)
        Description copied from interface: XYZModel
        Replace an (x,y,z) into a series at the specified index.
        Specified by:
        setValue in interface XYZModel
        Parameters:
        series - the series.
        x - the x value.
        y - the y value.
        z - the z value.
        index - the data index.
      • addValue

        public void addValue​(Comparable<?> series,
                             Number x,
                             Number y,
                             Number z,
                             int index)
        Description copied from interface: XYZModel
        Add an (x,y,z) into a series at the specified index.
        Specified by:
        addValue in interface XYZModel
        Parameters:
        series - the series.
        x - the x value.
        y - the y value.
        z - the z value.
        index - the data index.
      • removeValue

        public void removeValue​(Comparable<?> series,
                                int index)
        Description copied from interface: XYModel
        Remove (x,Y) value of a specified series and data index.
        Specified by:
        removeValue in interface XYModel
        Overrides:
        removeValue in class DefaultXYModel
        Parameters:
        series - the series.
        index - the data index.