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 Constructor Description BasicCommandButtonListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfocusGained(FocusEvent e)voidfocusLost(FocusEvent e)voidinstallKeyboardActions(AbstractCommandButton button)Installs keyboard action (space / enter keys) on the specified command button.voidmouseClicked(MouseEvent e)voidmouseDragged(MouseEvent e)voidmouseEntered(MouseEvent e)voidmouseExited(MouseEvent e)voidmouseMoved(MouseEvent e)voidmousePressed(MouseEvent e)voidmouseReleased(MouseEvent e)voidstateChanged(ChangeEvent e)voiduninstallKeyboardActions(AbstractCommandButton button)Uninstalls keyboard action (space / enter keys) from the specified command button.
-
-
-
Method Detail
-
focusLost
public void focusLost(FocusEvent e)
- Specified by:
focusLostin interfaceFocusListener
-
focusGained
public void focusGained(FocusEvent e)
- Specified by:
focusGainedin interfaceFocusListener
-
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClickedin interfaceMouseListener
-
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
public void mouseMoved(MouseEvent e)
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExitedin interfaceMouseListener
-
stateChanged
public void stateChanged(ChangeEvent e)
- Specified by:
stateChangedin interfaceChangeListener
-
installKeyboardActions
public void installKeyboardActions(AbstractCommandButton button)
Installs keyboard action (space / enter keys) on the specified command button.- Parameters:
button- Command button.
-
uninstallKeyboardActions
public void uninstallKeyboardActions(AbstractCommandButton button)
Uninstalls keyboard action (space / enter keys) from the specified command button.- Parameters:
button- Command button.
-
-