Java Platform 1.2

javax.swing.plaf.basic
Class BasicDesktopIconUI.MouseInputHandler

java.lang.Object
  |
  +--javax.swing.event.MouseInputAdapter
        |
        +--javax.swing.plaf.basic.BasicDesktopIconUI.MouseInputHandler

public class BasicDesktopIconUI.MouseInputHandler
extends MouseInputAdapter

Listens for mouse movements and acts on them. This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of .


Constructor Summary
BasicDesktopIconUI.MouseInputHandler()
           
 
Method Summary
 void mouseDragged(MouseEvent e)
           
 void mouseMoved(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 void moveAndRepaint(JComponent f, int newX, int newY, int newWidth, int newHeight)
           
 
Methods inherited from class javax.swing.event.MouseInputAdapter
mouseClicked, mouseEntered, mouseExited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicDesktopIconUI.MouseInputHandler

public BasicDesktopIconUI.MouseInputHandler()
Method Detail

mouseReleased

public void mouseReleased(MouseEvent e)
Overrides:
mouseReleased in class MouseInputAdapter

mousePressed

public void mousePressed(MouseEvent e)
Overrides:
mousePressed in class MouseInputAdapter

mouseMoved

public void mouseMoved(MouseEvent e)
Overrides:
mouseMoved in class MouseInputAdapter

mouseDragged

public void mouseDragged(MouseEvent e)
Overrides:
mouseDragged in class MouseInputAdapter

moveAndRepaint

public void moveAndRepaint(JComponent f,
                           int newX,
                           int newY,
                           int newWidth,
                           int newHeight)

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.