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 TypeMethodDescriptionvoid
void
void
Installs keyboard action (space / enter keys) on the specified command button.void
void
void
void
void
void
void
void
void
Uninstalls keyboard action (space / enter keys) from the specified command button.
-
Constructor Details
-
BasicCommandButtonListener
public BasicCommandButtonListener()
-
-
Method Details
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
-
focusGained
- Specified by:
focusGained
in interfaceFocusListener
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
stateChanged
- Specified by:
stateChanged
in 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.
-