public class ScaledVisualizationRenderer extends java.lang.Object implements VisualizationRenderer
Constructor and Description |
---|
ScaledVisualizationRenderer(VisualizationRenderer decorated,
double width,
double height)
Explicit Value Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
postRendering(java.awt.Graphics g,
Visualization model,
VisualizationView view)
Operations to perform after rendering.
|
void |
preRendering(java.awt.Graphics g,
Visualization model,
VisualizationView view)
Operations to perform before rendering.
|
void |
render(java.awt.Graphics g,
Visualization model,
VisualizationView view)
Render the content contained in the model.
|
public ScaledVisualizationRenderer(VisualizationRenderer decorated, double width, double height)
decorated
- The VisualizatioRenderer to decoratewidth
- The full-size width of the contentheight
- The full-size height of the contentpublic void postRendering(java.awt.Graphics g, Visualization model, VisualizationView view)
postRendering
in interface VisualizationRenderer
g
- The rendering enginemodel
- The Visualization containing the contentview
- The component presenting the contentpublic void preRendering(java.awt.Graphics g, Visualization model, VisualizationView view)
preRendering
in interface VisualizationRenderer
g
- The rendering enginemodel
- The Visualization containing the contentview
- The component presenting the contentpublic void render(java.awt.Graphics g, Visualization model, VisualizationView view)
render
in interface VisualizationRenderer
g
- The rendering enginemodel
- The Visualization containing the contentview
- The component presenting the content