|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tigris.gef.base.Guide
Constrains interactions to certain coordinates. For example GuideGrid makes objects snap to a grid. Other subclasses might implement other snapping rules, for example, a polar grid or gravity (objects cling to other objects when they get close).
GuideGrid
,
Serialized FormConstructor Summary | |
Guide()
|
Method Summary | |
void |
adjust()
Bring up a dialog box to set the parameters for this guide. |
abstract void |
snap(java.awt.Point p)
Modify the given point to satisfy guide conditions (e.g. |
java.awt.Point |
snapTo(java.awt.Point p)
Return a NEW Point that is close to p and on the guideline (e.g., gridline). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Guide()
Method Detail |
public final java.awt.Point snapTo(java.awt.Point p)
public abstract void snap(java.awt.Point p)
public void adjust()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |