org.nuiton.widget.tooltip
Class SizeGrip.MouseHandler

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by javax.swing.event.MouseInputAdapter
          extended by org.nuiton.widget.tooltip.SizeGrip.MouseHandler
All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener, MouseInputListener
Enclosing class:
SizeGrip

protected class SizeGrip.MouseHandler
extends MouseInputAdapter

Listens for mouse events on this panel and resizes the parent window appropriately.

Version:
1.0
Author:
Robert Futrell

Field Summary
protected  Point origPos
           
 
Constructor Summary
protected SizeGrip.MouseHandler()
           
 
Method Summary
 void mouseDragged(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited
 
Methods inherited from interface java.awt.event.MouseMotionListener
mouseMoved
 

Field Detail

origPos

protected Point origPos
Constructor Detail

SizeGrip.MouseHandler

protected SizeGrip.MouseHandler()
Method Detail

mouseDragged

public void mouseDragged(MouseEvent e)
Specified by:
mouseDragged in interface MouseMotionListener
Overrides:
mouseDragged in class MouseAdapter

mousePressed

public void mousePressed(MouseEvent e)
Specified by:
mousePressed in interface MouseListener
Overrides:
mousePressed in class MouseAdapter

mouseReleased

public void mouseReleased(MouseEvent e)
Specified by:
mouseReleased in interface MouseListener
Overrides:
mouseReleased in class MouseAdapter


Copyright © 2004-2010 CodeLutin. All Rights Reserved.