Interface DataDescriptorCallback

All Known Implementing Classes:
AreaChart, AxesBasedChart, BarChart, BubbleChart, DonutChart, DotChart, FunnelChart, GaugeChart, HorizontalBarChart, HorizontalStackedBarChart, LineChart, PieChart, PopulationPyramidChart, SeriesBasedChart, StackedAreaChart, StackedBarChart

public interface DataDescriptorCallback
DataDescriptor asynchronous callback handling interface.
Since:
4.0
Author:
JBStrap
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The method is invoked, if an error was encountered during the async operation
    void
    The method is invoked, if the async data handling operation was successful.
  • Method Details

    • onSuccess

      void onSuccess(List<Record> data)
      The method is invoked, if the async data handling operation was successful.
      Parameters:
      data - The list of records that are returned. In the cause of a query, the query results. In the case of a save, the saved records.
    • onError

      void onError(Throwable e)
      The method is invoked, if an error was encountered during the async operation
      Parameters:
      e - The encountered error/exception