com.jidesoft.status
Class ResizeStatusBarItem.ResizableMouseInputAdapter
java.lang.Object
java.awt.event.MouseAdapter
javax.swing.event.MouseInputAdapter
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESIZE_NONE
protected static final int RESIZE_NONE
- See Also:
- Constant Field Values
ResizeStatusBarItem.ResizableMouseInputAdapter
public ResizeStatusBarItem.ResizableMouseInputAdapter()
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