|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--flatscape.tool.DragLineTool.DragManipulator
Base manipulator for drag create tools, e.g. line, circle and rectangle tools.
| Field Summary | |
protected org.w3c.dom.Element |
model_
|
protected java.awt.geom.Point2D |
startPoint_
|
| Constructor Summary | |
DragLineTool.DragManipulator(org.w3c.dom.Element model)
|
|
| Method Summary | |
Command |
click(java.lang.Object event)
Does nothing. |
Command |
effect(java.lang.Object event)
As manipulate. |
Command |
grasp(java.lang.Object event)
Saves the start point, creates the transform of the UForm, and returns a SetUFCmd with the UForm. |
Command |
manipulate(java.lang.Object event)
Computes width and height, and new center of the object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.w3c.dom.Element model_
protected java.awt.geom.Point2D startPoint_
| Constructor Detail |
public DragLineTool.DragManipulator(org.w3c.dom.Element model)
| Method Detail |
public Command grasp(java.lang.Object event)
SetUFCmd with the UForm.
grasp in interface Manipulatorevent - event object encapsulation the information received from the input device
public Command manipulate(java.lang.Object event)
manipulate in interface Manipulatorevent - event object encapsulation the information received from the input device
public Command effect(java.lang.Object event)
manipulate.
effect in interface Manipulatorevent - event object encapsulation the information received from the input device
public Command click(java.lang.Object event)
click in interface Manipulatorevent - event object encapsulation the information received from the input device
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||