Intent

Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lts algorithm vary independently from clients that use it.

Applicability

Structure

[to do: diagram with StrategyContext and Strategy]

Consequences

Implementation

Uses in JHotDraw

Strategy (Policy)

JHotDraw 7