|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.neu.ccs.gui.Mutator.Strategy
Class Strategy encapsulates an algorithm that will produce
a mutator AffineTransform given the center of an associated
object.
| Constructor Summary | |
Mutator.Strategy()
|
|
| Method Summary | |
abstract AffineTransform |
mutator(double x,
double y)
Returns a non- null mutator AffineTransform
given the center (x, y) of an associated object. |
AffineTransform |
mutator(Point2D center)
Returns a non- null mutator AffineTransform
given the center of an associated object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Mutator.Strategy()
| Method Detail |
public final AffineTransform mutator(Point2D center)
Returns a non-null mutator AffineTransform
given the center of an associated object.
If the given center is null then the mutator returned
will be the identity transform.
center - the center for the mutator operation
public abstract AffineTransform mutator(double x,
double y)
Returns a non-null mutator AffineTransform
given the center (x, y) of an associated object.
x - the x-coordinate of the center for the mutator operationy - the y-coordinate of the center for the mutator operation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||