|
org.netbeans.api.visual 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MoveProvider
This interface controls move action.
Method Summary | |
---|---|
Point |
getOriginalLocation(Widget widget)
Called to acquire a origin location against which the movement will be calculated. |
void |
movementFinished(Widget widget)
Called to notify about the end of movement of a specified widget. |
void |
movementStarted(Widget widget)
Called to nofity about the start of movement of a specified widget. |
void |
setNewLocation(Widget widget,
Point location)
Called to set a new location of a moved widget. |
Method Detail |
---|
void movementStarted(Widget widget)
widget
- the moving widgetvoid movementFinished(Widget widget)
widget
- the moved widgetPoint getOriginalLocation(Widget widget)
widget
- the moving widget
void setNewLocation(Widget widget, Point location)
widget
- the moved widgetlocation
- the new location
|
org.netbeans.api.visual 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |