Combining Sampled and Described Static Visual Content
An Introduction with Examples in Java |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
Renderable
Interface
for Sampled and Described Content
An Initial Design
Using the Composite Pattern
RenderableContent
Class
RenderableContent
(cont.)
render()
MethodRenderableContent
(cont.)
createTransformedVersion()
MethodRenderableContent
(cont.)
getBounds()
MethodRenderableContent
(cont.)
An Initial Design
An Improved Design
Advantages of this Design
VisualizationView
Class
Visualization
Class
ScaledView
Class
PartialView
Class