|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PointConstrainer
Interface to constrain a Point. This can be used to implement different kinds of grids.
Strategy
DrawingView is the StrategyContext.
DrawingView
Method Summary | |
---|---|
java.awt.Point |
constrainPoint(java.awt.Point p)
Constrains the given point. |
int |
getStepX()
Gets the x offset to move an object. |
int |
getStepY()
Gets the y offset to move an object. |
Method Detail |
---|
java.awt.Point constrainPoint(java.awt.Point p)
int getStepX()
int getStepY()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |