WISA.wisa3D.gui
Interface Dragable
- All Known Implementing Classes:
- VisADDataTree
- public interface Dragable
|
Method Summary |
void |
dropCompleted(boolean success)
Called if a drag&drop operation initialized by this Dragable was completed. |
java.awt.Component |
getDragComponent(java.awt.Component parent,
int x,
int y)
Get the Component to be dragged from the given Component at the given
point. |
getDragComponent
public java.awt.Component getDragComponent(java.awt.Component parent,
int x,
int y)
- Get the Component to be dragged from the given Component at the given
point.
- Parameters:
parent - The Component where the dragable Component should be located.x - The x position where the drag starts.y - The y position where the drag starts.
- Returns:
- The Component to be dragged.
dropCompleted
public void dropCompleted(boolean success)
- Called if a drag&drop operation initialized by this Dragable was completed.
- Parameters:
success - True if the drop was successful.