javax.swing.plaf.basic
Class BasicSliderUI.FocusHandler

java.lang.Object
  extended by 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.


Constructor Summary
BasicSliderUI.FocusHandler()
           
 
Method Summary
 void focusGained(FocusEvent e)
          Called when the JSlider has gained focus.
 void focusLost(FocusEvent e)
          Called when the JSlider has lost focus.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicSliderUI.FocusHandler

public BasicSliderUI.FocusHandler()
Method Detail

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.