Class RolloverTextControlListener
java.lang.Object
org.pushingpixels.substance.internal.utils.RolloverTextControlListener
- All Implemented Interfaces:
FocusListener,MouseListener,MouseMotionListener,EventListener
public class RolloverTextControlListener
extends Object
implements MouseListener, MouseMotionListener, FocusListener
Control listener for rollover effects. Tracks the mouse motion interaction
for the associated
TransitionAwareUI control.-
Constructor Summary
ConstructorsConstructorDescriptionRolloverTextControlListener(JComponent component, TransitionAwareUI trackableUI, ButtonModel model) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
RolloverTextControlListener
public RolloverTextControlListener(JComponent component, TransitionAwareUI trackableUI, ButtonModel model) Simple constructor.- Parameters:
trackableUI- Object that is queried for mouse events.model- Surrogate model for tracking control status.
-
-
Method Details
-
registerListeners
public void registerListeners() -
unregisterListeners
public void unregisterListeners() -
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-