public class CurveVisFactory extends AbstractVisFactory
Modifier and Type | Class and Description |
---|---|
(package private) class |
CurveVisFactory.CurveFilter
Filter to only retrieve double-double-pair results.
|
Modifier and Type | Field and Description |
---|---|
private static String |
NAME
Name for this visualizer.
|
private static String |
SERIESID
SVG class name for plot line
|
Constructor and Description |
---|
CurveVisFactory()
Constructor, Parameterizable style - does nothing.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowThumbnails(VisualizationTask task)
Test whether to do a thumbnail or a full rendering.
|
Visualization |
makeVisualization(VisualizationTask task)
Produce a visualization instance for the given task
|
void |
processNewResult(HierarchicalResult baseResult,
Result result)
Add visualizers for the given result (tree) to the context.
|
private void |
setupCSS(VisualizerContext context,
SVGPlot svgp)
Setup the CSS classes for the plot.
|
makeVisualizationOrThumbnail
private static final String NAME
private static final String SERIESID
public CurveVisFactory()
public Visualization makeVisualization(VisualizationTask task)
VisFactory
makeVisualization
in interface VisFactory
makeVisualization
in class AbstractVisFactory
task
- Visualization taskprivate void setupCSS(VisualizerContext context, SVGPlot svgp)
svgp
- Plotpublic void processNewResult(HierarchicalResult baseResult, Result result)
VisFactory
baseResult
- Context to work withresult
- Result to processpublic boolean allowThumbnails(VisualizationTask task)
AbstractVisFactory
allowThumbnails
in class AbstractVisFactory
task
- Task requested