|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Encapsulates Tool’s manipulation behavior and is responsible for providing visual feedback during a manipulation sequence. Typical visual feedback is achieved by redrawing a rubberband using the XOR technique.
This is the Controller part of the Model-View-Controller design pattern in that it converts the user interaction into the commands for the model.
Copyright (c) 2000 Rutgers, The State University of New Jersey
| Method Summary | |
Command |
click(java.lang.Object event)
Click event to the manipulator. |
Command |
effect(java.lang.Object event)
Finalizes the manipulation. |
Command |
grasp(java.lang.Object event)
Begins the manipulation by grasping the event's source uform. |
Command |
manipulate(java.lang.Object event)
Manipulates the source uform. |
| Method Detail |
public Command grasp(java.lang.Object event)
event - event object encapsulation the information received from the input device
public Command manipulate(java.lang.Object event)
event - event object encapsulation the information received from the input device
public Command effect(java.lang.Object event)
event - event object encapsulation the information received from the input device
public Command click(java.lang.Object event)
event - 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 | |||||||||