javax.swing.plaf.basic

Class BasicInternalFrameUI.BorderListener

protected class BasicInternalFrameUI.BorderListener extends MouseInputAdapter implements SwingConstants

This helper class listens to the edges of the JInternalFrame and the TitlePane for mouse events. It is responsible for dragging and resizing the JInternalFrame in response to the MouseEvents.
Field Summary
protected intRESIZE_NONE
FIXME: Use for something.
Method Summary
voidmouseClicked(MouseEvent e)
This method is called when the mouse is clicked.
voidmouseDragged(MouseEvent e)
This method is called when the mouse is dragged.
voidmouseExited(MouseEvent e)
This method is called when the mouse exits the JInternalFrame.
voidmouseMoved(MouseEvent e)
This method is called when the mouse is moved inside the JInternalFrame.
voidmousePressed(MouseEvent e)
This method is called when the mouse is pressed.
voidmouseReleased(MouseEvent e)
This method is called when the mouse is released.

Field Detail

RESIZE_NONE

protected final int RESIZE_NONE
FIXME: Use for something.

Method Detail

mouseClicked

public void mouseClicked(MouseEvent e)
This method is called when the mouse is clicked.

Parameters: e The MouseEvent.

mouseDragged

public void mouseDragged(MouseEvent e)
This method is called when the mouse is dragged. This method is responsible for resizing or dragging the JInternalFrame.

Parameters: e The MouseEvent.

mouseExited

public void mouseExited(MouseEvent e)
This method is called when the mouse exits the JInternalFrame.

Parameters: e The MouseEvent.

mouseMoved

public void mouseMoved(MouseEvent e)
This method is called when the mouse is moved inside the JInternalFrame.

Parameters: e The MouseEvent.

mousePressed

public void mousePressed(MouseEvent e)
This method is called when the mouse is pressed.

Parameters: e The MouseEvent.

mouseReleased

public void mouseReleased(MouseEvent e)
This method is called when the mouse is released.

Parameters: e The MouseEvent.