com.rapidminer.report
Interface Renderable

All Superinterfaces:
Reportable
All Known Subinterfaces:
Plotter
All Known Implementing Classes:
Abstract2DChartPlotter, AbstractPieChartPlotter, AndrewsCurves, AreaUnderCurve, BarChartPlotter, BlockChartPlotter, BoundDiagram, BoxPlot2D, BoxPlot3D, BubbleChartPlotter, ClusterTreeVisualization, ColorQuartileMatrixPlotter, ColorQuartilePlotter, DefaultComponentRenderable, DendrogramPlotter, DensityPlotter, DeviationChartPlotter, DistributionPlotter, GraphViewer, GridVizPlotter, HintonDiagram, HistogramChart, HistogramColorChart, ImprovedNeuralNetVisualizer, JMathPlotter, JMathPlotter2D, JMathPlotter3D, KernelDistributionModel, LiftParetoChart, MultipleScatterPlotter, MultipleSeriesChartPlotter, NeuralNetVisualizer, ParallelPlotter, ParallelPlotter2, ParetoChartPlotter, PieChart2DPlotter, PieChart3DPlotter, PlotterAdapter, PlotterPanel, QuartilePlotter, RadVizPlotter, RingChartPlotter, ROCChartPlotter, ROCComparison, ROCViewer, ScatterMatrixPlotter, ScatterPlot3D, ScatterPlot3DColor, ScatterPlotter, ScatterPlotter2, SeriesChartPlotter, SimilarityKDistanceVisualization, SimpleDistributionModel, SimpleNeuralNetVisualizer, SOMModelPlotter, SOMPlotter, SticksPlot2D, SticksPlot3D, SurfacePlot3D, SurveyPlotter

public interface Renderable
extends Reportable

This interface provides methods for exporting visual components.

Author:
Sebastian Land

Method Summary
 void finishRendering()
          Will be invoked directly after rendering and gives the object the chance to perform some clean-up.
 int getRenderHeight(int preferredHeight)
          This method return the pixel height the rendering needs
 int getRenderWidth(int preferredWidth)
          This method returns the pixel width the rendering needs
 void prepareRendering()
          Will be invoked before rendering and even before render width and height retrieval.
 void render(java.awt.Graphics graphics, int width, int height)
          This method paints the visual representation onto the given graphics
 

Method Detail

prepareRendering

void prepareRendering()
Will be invoked before rendering and even before render width and height retrieval.


finishRendering

void finishRendering()
Will be invoked directly after rendering and gives the object the chance to perform some clean-up.


render

void render(java.awt.Graphics graphics,
            int width,
            int height)
This method paints the visual representation onto the given graphics

Parameters:
graphics - the graphics to render onto

getRenderWidth

int getRenderWidth(int preferredWidth)
This method returns the pixel width the rendering needs

Parameters:
preferredWidth - tells the renderable of the size it should deliver best
Returns:
the pixel width

getRenderHeight

int getRenderHeight(int preferredHeight)
This method return the pixel height the rendering needs

Parameters:
preferredHeight - tells the renderable of the size it should deliver best
Returns:
the pixel height


Copyright © 2001-2009 by Rapid-I