01: /*
02: * Copyright 2000,2005 wingS development team.
03: *
04: * This file is part of wingS (http://wingsframework.org).
05: *
06: * wingS is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * Please see COPYING for the complete licence.
12: */
13: package org.wings.event;
14:
15: import org.wings.SComponent;
16:
17: /**
18: * The Listener interface for receiving drop events generated by the drag and
19: * drop API.
20: * @author ole
21: */
22: public interface SComponentDropListener {
23: /**
24: * Invoked when a component has been dropped onto the component we're
25: * listening on.
26: * @param dragSource the dropped component
27: * @return If the event was handled by this.
28: */
29: boolean handleDrop(SComponent dragSource);
30: }
|