de.uni_paderborn.fujaba.fsa.listener
Class GrabMouseListener

java.lang.Object
  extended byjavax.swing.event.MouseInputAdapter
      extended byde.uni_paderborn.fujaba.fsa.listener.GrabMouseListener
All Implemented Interfaces:
AscendDescendMouseHandler.Descend, java.util.EventListener, javax.swing.event.MouseInputListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener

public class GrabMouseListener
extends javax.swing.event.MouseInputAdapter
implements AscendDescendMouseHandler.Descend

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.11 $
Author:
$Author: lowende $

Field Summary
private static GrabMouseListener singleton
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
private GrabMouseListener()
          Constructor for class GrabMouseListener
 
Method Summary
private  JGrab findGrab(javax.swing.JComponent source)
          No comment provided by developer, please add a comment to improve documentation.
static GrabMouseListener get()
          No comment provided by developer, please add a comment to improve documentation.
static Direction getOrientation(int x, int y, java.awt.Rectangle bounds)
          Get the orientation attribute of the GrabMouseListener class
 void mouseDragged(java.awt.event.MouseEvent event)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class javax.swing.event.MouseInputAdapter
mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singleton

private static GrabMouseListener singleton
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

GrabMouseListener

private GrabMouseListener()
Constructor for class GrabMouseListener

Method Detail

get

public static GrabMouseListener get()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent event)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener
Parameters:
event - No description provided

findGrab

private JGrab findGrab(javax.swing.JComponent source)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
source - No description provided
Returns:
No description provided

getOrientation

public static Direction getOrientation(int x,
                                       int y,
                                       java.awt.Rectangle bounds)
Get the orientation attribute of the GrabMouseListener class

Parameters:
x - No description provided
y - No description provided
bounds - No description provided
Returns:
The orientation value