Class QueryData


  • public class QueryData
    extends java.util.Observable
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryData()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addData​(DataSet2D dataset)
      Add the dataset into the array list for the DataSet2D
      void clearData()
      Remove the array list data of the dataSet2D
      DataSet2D getData​(java.lang.String title)
      Get the data using the data title
      java.util.ArrayList<java.lang.String> getDataTitles()
      Get data titles
      void notifyDataObservers()  
      • Methods inherited from class java.util.Observable

        addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QueryData

        public QueryData()
    • Method Detail

      • clearData

        public void clearData()
        Remove the array list data of the dataSet2D
      • addData

        public void addData​(DataSet2D dataset)
        Add the dataset into the array list for the DataSet2D
        Parameters:
        dataset - - The dataset2D
      • getDataTitles

        public java.util.ArrayList<java.lang.String> getDataTitles()
        Get data titles
        Returns:
        dataTitles - The string array list of the titles
      • getData

        public DataSet2D getData​(java.lang.String title)
        Get the data using the data title
        Parameters:
        title - - The title string
        Returns:
        The DataSet2D
      • notifyDataObservers

        public void notifyDataObservers()