Class RadianceTabbedPaneUI.MouseRolloverHandler
java.lang.Object
org.pushingpixels.radiance.theming.internal.ui.RadianceTabbedPaneUI.MouseRolloverHandler
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,EventListener
- Enclosing class:
RadianceTabbedPaneUI
private class RadianceTabbedPaneUI.MouseRolloverHandler
extends Object
implements MouseListener, MouseMotionListener
Listener for rollover animation effects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Indicates whether the previous mouse event was located in a close button.private int
Index of the tab that was rolled over on the previous mouse event.private int
Tab index of the last mouse pressed event that happened in a close button. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Handles the move and drag mouse events.void
void
void
void
void
void
void
-
Field Details
-
prevRolledOver
private int prevRolledOverIndex of the tab that was rolled over on the previous mouse event. -
prevInCloseButton
private boolean prevInCloseButtonIndicates whether the previous mouse event was located in a close button. -
tabOfPressedCloseButton
private int tabOfPressedCloseButtonTab index of the last mouse pressed event that happened in a close button.
-
-
Constructor Details
-
MouseRolloverHandler
private MouseRolloverHandler()
-
-
Method Details
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-
handleMouseMoveDrag
Handles the move and drag mouse events.- Parameters:
e
- Mouse event to handle.
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-