SwingFX v1.0

net.java.swingfx.jdraggable
Class DraggableListener

java.lang.Object
  extended byjavax.swing.event.MouseInputAdapter
      extended bynet.java.swingfx.jdraggable.DraggableListener
All Implemented Interfaces:
EventListener, MouseInputListener, MouseListener, MouseMotionListener

public class DraggableListener
extends MouseInputAdapter

A listener which receives MouseEvent's to aid in the "dragging" of a Component

Since:
v0.1
$Header: /cvs/swingfx/docs/api/net/java/swingfx/jdraggable/DraggableListener.html,v 1.1 2005/06/23 00:24:37 codecraig Exp $
Author:
craig

Constructor Summary
DraggableListener(DraggableManager dragManager)
          Creates a new listener which communicates with the given DraggableManager during "dragging"
 
Method Summary
 void mouseDragged(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 
Methods inherited from class javax.swing.event.MouseInputAdapter
mouseClicked, mouseEntered, mouseExited, mouseMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DraggableListener

public DraggableListener(DraggableManager dragManager)
Creates a new listener which communicates with the given DraggableManager during "dragging"

Parameters:
dragManager - the DraggableManager to communicate with
Method Detail

mouseDragged

public void mouseDragged(MouseEvent e)
See Also:
MouseMotionListener.mouseDragged(java.awt.event.MouseEvent)

mousePressed

public void mousePressed(MouseEvent e)
See Also:
MouseListener.mousePressed(java.awt.event.MouseEvent)

mouseReleased

public void mouseReleased(MouseEvent e)
See Also:
MouseListener.mouseReleased(java.awt.event.MouseEvent)

SwingFX v1.0

SwingFX

Copyright 2005 Romain Guy and Craig Wickesser
All Rights Reserved.