Interface PlotConfiguration<P,​A>


  • public interface PlotConfiguration<P,​A>
    Object capable of executing a static or interactive plot. All configuration options are contained.
    Since:
    13 Dec 2019
    Author:
    Mark Taylor
    • Method Detail

      • createDataStore

        DataStore createDataStore​(DataStore prevStore)
                           throws java.io.IOException,
                                  java.lang.InterruptedException
        Creates a data store suitable for use with this object.
        Parameters:
        prevStore - previously obtained data store, may be null
        Returns:
        object containing plot data
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • getPlotSize

        java.awt.Dimension getPlotSize()
        Returns the requested external size of the plot.
        Returns:
        external bounds size
      • createNavigator

        Navigator<A> createNavigator()
        Returns a navigator suitable for the plot.
        Returns:
        navigator
      • createPlotScene

        PlotScene<P,​A> createPlotScene​(DataStore dataStore,
                                             PlotCaching caching)
        Creates a PlotScene that can paint the plot
        Parameters:
        dataStore - object containing plot data
        caching - plot caching policy
        Returns:
        scene
      • createPlotIcon

        javax.swing.Icon createPlotIcon​(DataStore dataStore)
        Generates an icon which will draw the plot. This may be slow to paint.
        Parameters:
        dataStore - object containing plot data