Back to index

moin  1.9.0~rc2
Public Member Functions
CH.ifa.draw.framework.Painter Interface Reference

Painter defines the interface for drawing a layer into a DrawingView. More...

Inheritance diagram for CH.ifa.draw.framework.Painter:
Inheritance graph
[legend]
Collaboration diagram for CH.ifa.draw.framework.Painter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

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

Definition at line 25 of file Painter.java.


Member Function Documentation

void CH.ifa.draw.framework.Painter.draw ( Graphics  g,
DrawingView  view 
)

Draws into the given DrawingView.


The documentation for this interface was generated from the following file: