public class ProfileMultiYAxisGraph2D extends ProfileGraph2D<MultiAxisLineGraph2DRenderer,List<Point2DDataset>>
MultiAxisLineGraph2DRenderer.
Takes a Point2DDataset dataset and repeatedly renders
through a Point2DDataset.data, LOG_FILEPATH, renderer| Constructor and Description |
|---|
ProfileMultiYAxisGraph2D() |
| Modifier and Type | Method and Description |
|---|---|
void |
createDatasetMessage()
Creates a dataset message to output the number of graphs.
|
protected List<Point2DDataset> |
getDataset()
The data that to be rendered in the render loop.
|
String |
getGraphTitle()
Gets the type of graph renderer.
|
int |
getNumGraphs()
Gets the number of graphs for the renderer.
|
protected MultiAxisLineGraph2DRenderer |
getRenderer(int imageWidth,
int imageHeight)
The renderer used in the render loop.
|
LinkedHashMap<String,Graph2DRendererUpdate> |
getVariations()
Gets the updates associated with the renderer in a map, linking a
description of the update to the update object.
|
protected void |
render(Graphics2D graphics,
MultiAxisLineGraph2DRenderer renderer,
List<Point2DDataset> data)
The primary method in the profiling render loop.
|
void |
setNumDataPoints(int numData)
Sets the size of the data set.
|
void |
setNumGraphs(int numGraphs)
Sets the number of graphs for the renderer.
|
getLogFileName, getNumDataPoints, getProfileTitle, getRenderSettings, getResolution, getSaveSettings, iterationAction, postIterationAction, preLoopAction, saveImage, saveStatisticsgetProfileSettings, getStatistics, graphStatistics, printStatistics, profile, saveStatisticspublic int getNumGraphs()
public final void setNumGraphs(int numGraphs)
numGraphs - number of graphs being renderedpublic void setNumDataPoints(int numData)
ProfileGraph2DsetNumDataPoints in class ProfileGraph2D<MultiAxisLineGraph2DRenderer,List<Point2DDataset>>numData - size of the data set in renderingpublic final void createDatasetMessage()
protected List<Point2DDataset> getDataset()
ProfileGraph2DgetDataset in class ProfileGraph2D<MultiAxisLineGraph2DRenderer,List<Point2DDataset>>protected MultiAxisLineGraph2DRenderer getRenderer(int imageWidth, int imageHeight)
ProfileGraph2DgetRenderer() is capable of rendering getDataset().
Thus type T is capable of rendering type S.getRenderer in class ProfileGraph2D<MultiAxisLineGraph2DRenderer,List<Point2DDataset>>imageWidth - pixel width of rendered imageimageHeight - pixel height of rendered imageGraph2DRenderer associated with data Sprotected void render(Graphics2D graphics, MultiAxisLineGraph2DRenderer renderer, List<Point2DDataset> data)
ProfileGraph2Drender in class ProfileGraph2D<MultiAxisLineGraph2DRenderer,List<Point2DDataset>>graphics - where image draws torenderer - what draws the imagedata - what is drawnpublic LinkedHashMap<String,Graph2DRendererUpdate> getVariations()
ProfileGraph2DgetVariations in class ProfileGraph2D<MultiAxisLineGraph2DRenderer,List<Point2DDataset>>public String getGraphTitle()
ProfileGraph2DgetGraphTitle in class ProfileGraph2D<MultiAxisLineGraph2DRenderer,List<Point2DDataset>>Copyright © 2015. All rights reserved.