JIDE 3.5.15

com.jidesoft.status
Class ResizeStatusBarItem.ResizableMouseInputAdapter

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by javax.swing.event.MouseInputAdapter
          extended by com.jidesoft.status.ResizeStatusBarItem.ResizableMouseInputAdapter
All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener, MouseInputListener
Enclosing class:
ResizeStatusBarItem

public class ResizeStatusBarItem.ResizableMouseInputAdapter
extends MouseInputAdapter

Mouse input listenr to control the resizing of Resizable component.


Field Summary
protected static int RESIZE_NONE
           
 
Constructor Summary
ResizeStatusBarItem.ResizableMouseInputAdapter()
           
 
Method Summary
 void mouseDragged(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mouseMoved(MouseEvent e)
          mouseMoved is for resize only.
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, 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
 

Field Detail

RESIZE_NONE

protected static final int RESIZE_NONE
See Also:
Constant Field Values
Constructor Detail

ResizeStatusBarItem.ResizableMouseInputAdapter

public ResizeStatusBarItem.ResizableMouseInputAdapter()
Method Detail

mousePressed

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

mouseDragged

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

mouseReleased

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

mouseMoved

public void mouseMoved(MouseEvent e)
mouseMoved is for resize only. When mouse moves over borders and corners, it will change to differnt cursor to indicate it's resizable.

Specified by:
mouseMoved in interface MouseMotionListener
Overrides:
mouseMoved in class MouseAdapter
Parameters:
e - mouse event

mouseExited

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

JIDE 3.5.15