WISA.wisa3D.gui
Interface Dropable
- All Known Implementing Classes:
- DataEditorPane
- public interface Dropable
|
Method Summary |
boolean |
acceptDrop(java.awt.Component target,
java.awt.Component drag,
int x,
int y)
Determines wether this Dropable accepts the specified drag as drop or not. |
boolean |
drop(java.awt.Component target,
java.awt.Component drag,
int x,
int y)
Perform a drop. |
acceptDrop
public boolean acceptDrop(java.awt.Component target,
java.awt.Component drag,
int x,
int y)
- Determines wether this Dropable accepts the specified drag as drop or not.
- Parameters:
target - The Component where to drop.drag - The Component to be dropped.x - The x position where to drop.y - The y position where to drop.
- Returns:
- True if a drop will be accepted.
drop
public boolean drop(java.awt.Component target,
java.awt.Component drag,
int x,
int y)
- Perform a drop.
- Parameters:
target - The Component where to drop.drag - The Component to be dropped.x - The x position where to drop.y - The y position where to drop.
- Returns:
- True if the drop was successful.