Class BasicCommandButtonListener
java.lang.Object
org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonListener
- All Implemented Interfaces:
FocusListener,MouseListener,MouseMotionListener,EventListener,ChangeListener
public class BasicCommandButtonListener
extends Object
implements MouseListener, MouseMotionListener, FocusListener, ChangeListener
Listener to track user interaction with the command buttons.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidInstalls keyboard action (space / enter keys) on the specified command button.voidvoidvoidvoidvoidvoidvoidvoidvoidUninstalls keyboard action (space / enter keys) from the specified command button.
-
Constructor Details
-
BasicCommandButtonListener
public BasicCommandButtonListener()
-
-
Method Details
-
focusLost
- Specified by:
focusLostin interfaceFocusListener
-
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
stateChanged
- Specified by:
stateChangedin interfaceChangeListener
-
installKeyboardActions
Installs keyboard action (space / enter keys) on the specified command button.- Parameters:
button- Command button.
-
uninstallKeyboardActions
Uninstalls keyboard action (space / enter keys) from the specified command button.- Parameters:
button- Command button.
-