|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisual.ScaledVisualizationRenderer
public class ScaledVisualizationRenderer
A decorator of a VisualizationRenderer that adds scaling capabilities. That is, a ScaledVisualizationRenderer will scale all of the content to fit its component.
Constructor Summary | |
---|---|
ScaledVisualizationRenderer(VisualizationRenderer decorated,
double width,
double height)
Explicit Value Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 contentMethod Detail |
---|
public 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
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |