public interface PlotFactory
Modifier and Type | Method and Description |
---|---|
boolean |
canCreatePlotterFor(Class dataType)
Tests if can create a plotter for the given data type
|
boolean |
canCreatePlotterFor(Class[] dataType)
Tests if can create a plotter for the given data types
|
PlotPage |
createPage(String name)
Create a page which can be used to display plots.
|
Plotter |
createPlotterFor(Class dataType)
Returns a plotter which is able to plot the given class of data.
|
Plotter |
createPlotterFor(Class[] dataType)
Returns a plotter which is able to plot all of the given classes of data.
|
PlotPage |
currentPage()
Returns the currently selected plot page,
or null if no plot page is currently selected.
|
List |
pages()
Returns a list of all PlotPage's which are showing.
|
void |
registerAdapter(PlotterAdapter adapter,
Class from,
Class to)
Register a Plotter adapter that can convert an Object of class "from"
to an object of class "to".
|
Plotter createPlotterFor(Class dataType)
Plotter createPlotterFor(Class[] dataType)
boolean canCreatePlotterFor(Class dataType)
boolean canCreatePlotterFor(Class[] dataType)
PlotPage createPage(String name)
name
- The name, or null for a default namePlotPage currentPage()
List pages()
void registerAdapter(PlotterAdapter adapter, Class from, Class to)
adapter
- The PlotterAdapter.from
- The class of the objects that can be converted.to
- The class to which the objects can be converted.Copyright © 2014. All Rights Reserved.