|
JHotDraw 7.0.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Constrainer
Interface to constrain a Point2D.Double. This can be used to implement different kinds of grids.
| Method Summary | |
|---|---|
java.awt.geom.Point2D.Double |
constrainPoint(java.awt.geom.Point2D.Double p)
Constrains the given point. |
void |
draw(java.awt.Graphics2D g,
DrawingView view)
Draws the constrainer grid for the specified drawing view. |
boolean |
isVisible()
Returns true if the Constrainer grid is visible. |
| Method Detail |
|---|
java.awt.geom.Point2D.Double constrainPoint(java.awt.geom.Point2D.Double p)
boolean isVisible()
void draw(java.awt.Graphics2D g,
DrawingView view)
|
Copyright 1996-2006 © JHotDraw.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||