net.sf.freecol.client.gui.panel
Class DropListener
java.lang.Object
java.awt.event.MouseAdapter
net.sf.freecol.client.gui.panel.DropListener
- All Implemented Interfaces:
- java.awt.event.MouseListener, java.util.EventListener
public final class DropListener
- extends java.awt.event.MouseAdapter
A DropListener should be attached to Swing components that have a
TransferHandler attached. The DropListener will make sure that the
Swing component to which it is attached can accept dragable data.
|
Method Summary |
void |
mouseReleased(java.awt.event.MouseEvent e)
Gets called when the mouse was released on a Swing component that has this
object as a MouseListener. |
| Methods inherited from class java.awt.event.MouseAdapter |
mouseClicked, mouseEntered, mouseExited, mousePressed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
LICENSE
public static final java.lang.String LICENSE
- See Also:
- Constant Field Values
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
DropListener
public DropListener()
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Gets called when the mouse was released on a Swing component that has this
object as a MouseListener.
- Specified by:
mouseReleased in interface java.awt.event.MouseListener- Overrides:
mouseReleased in class java.awt.event.MouseAdapter
- Parameters:
e - The event that holds the information about the mouse click.