javax.swing.plaf.basic
public class BasicSliderUI.FocusHandler extends Object implements FocusListener
Constructor and Description |
---|
BasicSliderUI.FocusHandler() |
Modifier and Type | Method and Description |
---|---|
void |
focusGained(FocusEvent e)
Called when the
JSlider has gained focus. |
void |
focusLost(FocusEvent e)
Called when the
JSlider has lost focus. |
public BasicSliderUI.FocusHandler()
public void focusGained(FocusEvent e)
JSlider
has gained focus. It should repaint
the slider with the focus drawn.focusGained
in interface FocusListener
e
- A FocusEvent
.public void focusLost(FocusEvent e)
JSlider
has lost focus. It should repaint the
slider without the focus drawn.focusLost
in interface FocusListener
e
- A FocusEvent
.