javax.swing.plaf.basic
public class BasicDesktopIconUI.MouseInputHandler extends MouseInputAdapter
Method Summary | |
---|---|
void | mouseDragged(MouseEvent e)
This method is called when the mouse is dragged in the JDesktopIcon.
|
void | mouseMoved(MouseEvent e)
This method is called when the mouse is moved in the JDesktopIcon.
|
void | mousePressed(MouseEvent e)
This method is called when the mouse is pressed in the JDesktopIcon.
|
void | mouseReleased(MouseEvent e)
This method is called when the mouse is released in the JDesktopIcon.
|
void | moveAndRepaint(JComponent f, int newX, int newY, int newWidth, int newHeight)
This method moves and repaints the JDesktopIcon to the given bounds.
|
Parameters: e The MouseEvent.
Parameters: e The MouseEvent.
Parameters: e The MouseEvent.
Parameters: e The MouseEvent.
Parameters: f The JComponent to move and repaint. newX The new x coordinate. newY The new y coordinate. newWidth The new width. newHeight The new height.