com.droplets.api.event
Interface DropListener
- All Superinterfaces:
- java.util.EventListener
- public interface DropListener
- extends java.util.EventListener
The interface that must be implemented by objects interested in receiving
DropEvents
. Those objects must be registered with an object that generates
DropEvents
. When a DropEvent
occurs, the handleDrop(com.droplets.api.event.DropEvent)
method will
called.
For example if you were to pass it to a Component's addDropListener
method:
myComponent.addDropListener(
new DropListener()
{
public void handleDrop(DropEvent evt)
{
// do work here
}
}
);
Method Summary |
void |
handleDrop(DropEvent event)
Called when a component is dropped onto another. |
handleDrop
public void handleDrop(DropEvent event)
- Called when a component is dropped onto another.
- Parameters:
event
- the event object that represents this action
Copyright © Droplets, 2001. All Rights Reserved.