visual
Interface VisualizationRenderer

All Known Implementing Classes:
PartialVisualizationRenderer, PlainVisualizationRenderer, ScaledVisualizationRenderer, ScreenRenderer, SpecialEffectsRenderer

public interface VisualizationRenderer

The requirements of a VisualizationRenderer (i.e., an object that handles the rendering for a particular VisualizationView and Visualization)

See Also:
"The Design and Implementation of Multimedia Software © 2011"

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.
 

Method Detail

postRendering

void postRendering(java.awt.Graphics g,
                   Visualization model,
                   VisualizationView view)
Operations to perform after rendering.

Parameters:
g - The rendering engine
model - The Visualization containing the content
view - The component presenting the content

preRendering

void preRendering(java.awt.Graphics g,
                  Visualization model,
                  VisualizationView view)
Operations to perform before rendering.

Parameters:
g - The rendering engine
model - The Visualization containing the content
view - The component presenting the content

render

void render(java.awt.Graphics g,
            Visualization model,
            VisualizationView view)
Render the content contained in the model.

Parameters:
g - The rendering engine
model - The Visualization containing the content
view - The component presenting the content


Design and Implementation of Multimedia Software, Jones and Bartlett Publishers