javax.swing.plaf.basic
Class BasicSliderUI.FocusHandler
java.lang.Object
javax.swing.plaf.basic.BasicSliderUI.FocusHandler
- All Implemented Interfaces:
- FocusListener, EventListener
- Enclosing class:
- BasicSliderUI
public class BasicSliderUI.FocusHandler
- extends Object
- implements FocusListener
Helper class that listens for focus events.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicSliderUI.FocusHandler
public BasicSliderUI.FocusHandler()
focusGained
public void focusGained(FocusEvent e)
- Called when the
JSlider has gained focus. It should repaint
the slider with the focus drawn.
- Specified by:
focusGained in interface FocusListener
- Parameters:
e - A FocusEvent.
focusLost
public void focusLost(FocusEvent e)
- Called when the
JSlider has lost focus. It should repaint the
slider without the focus drawn.
- Specified by:
focusLost in interface FocusListener
- Parameters:
e - A FocusEvent.