Package 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.awt.event.MouseMotionListener
,java.awt.event.MouseWheelListener
,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 draggable data.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Logger
logger
-
Constructor Summary
Constructors Constructor Description DropListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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 interfacejava.awt.event.MouseListener
- Overrides:
mouseReleased
in classjava.awt.event.MouseAdapter
- Parameters:
e
- The event that holds the information about the mouse click.
-
-