All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface CH.ifa.draw.framework.Painter

public interface interface Painter
extends Serializable
Painter defines the interface for drawing a layer into a DrawingView.


Design Patterns

 o Strategy
Painter encapsulates an algorithm to render something in the DrawingView. The DrawingView plays the role of the StrategyContext.


See Also:
DrawingView

Method Index

 o draw(Graphics, DrawingView)
Draws into the given DrawingView.

Methods

 o draw
 public abstract void draw(Graphics g,
                           DrawingView view)
Draws into the given DrawingView.


All Packages  Class Hierarchy  This Package  Previous  Next  Index