|
|
От: |
Mamut
|
http://dmitriid.com |
| Дата: | 20.01.06 08:35 | ||
| Оценка: | 46 (1) | ||
И там же большой кусок о drop targetsExcept in cases where drag and drop is so intrinsic to an application that no suitable alternative methods exist—dragging icons in the Finder, for example—there should always be another method for accomplishing a drag-and-drop task.
- Use drag and drop only where the user can reasonably guess what the effect might be
— Provide visual feedback throughout a drag and drop operation. Highlight valid targets and change the mouse pointer as it passes over them. Use the "no drop" mouse pointer when passing over invalid drop targets.
During any drag-and-drop operation, your Java look and feel application needs to give visual feedback using the pointer and the destination.
— Provide the user with feedback that a drag operation is in progress by changing the shape of the pointer when the drag is initiated. Use different pointers to distinguish operations (such as copying or moving).
-Provide destination feedback so users know where the dragged object can be dropped. Use one or both of the following methods to provide destination feedback:
--Change the shape of the pointer to reflect whether the object is over a possible drop target.
--Highlight drop targets when the pointer is over them to indicate that they can accept the selection or source.