Class BasicInternalFrameUI.BorderListener
java.lang.Object
java.awt.event.MouseAdapter
javax.swing.event.MouseInputAdapter
javax.swing.plaf.basic.BasicInternalFrameUI.BorderListener
- All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener, MouseInputListener, SwingConstants
- Enclosing class:
BasicInternalFrameUI
protected class BasicInternalFrameUI.BorderListener
extends MouseInputAdapter
implements SwingConstants
Listens for border adjustments.
-
Field Summary
FieldsFields declared in interface SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when the mouse button has been clicked (pressed and released) on a component.voidInvoked when the mouse enters a component.voidInvoked when the mouse exits a component.voidInvoked when a mouse button has been pressed on a component.voidInvoked when a mouse button has been released on a component.Methods declared in class MouseAdapter
mouseDragged, mouseMoved, mouseWheelMoved
-
Field Details
-
RESIZE_NONE
protected final int RESIZE_NONEresize none- See Also:
-
-
Constructor Details
-
BorderListener
protected BorderListener()Constructs aBorderListener.
-
-
Method Details
-
mouseClicked
Invoked when the mouse button has been clicked (pressed and released) on a component.- Specified by:
mouseClickedin interfaceMouseListener- Parameters:
e- the event to be processed
-
mouseReleased
Invoked when a mouse button has been released on a component.- Specified by:
mouseReleasedin interfaceMouseListener- Parameters:
e- the event to be processed
-
mousePressed
Invoked when a mouse button has been pressed on a component.- Specified by:
mousePressedin interfaceMouseListener- Parameters:
e- the event to be processed
-
mouseEntered
Invoked when the mouse enters a component.- Specified by:
mouseEnteredin interfaceMouseListener- Parameters:
e- the event to be processed
-
mouseExited
Invoked when the mouse exits a component.- Specified by:
mouseExitedin interfaceMouseListener- Parameters:
e- the event to be processed
-