public class BasicListUI.FocusHandler extends Object implements FocusListener
FocusEvent
s
from the JList.Constructor and Description |
---|
BasicListUI.FocusHandler() |
Modifier and Type | Method and Description |
---|---|
void |
focusGained(FocusEvent e)
Called when the JList acquires focus.
|
void |
focusLost(FocusEvent e)
Called when the JList loses focus.
|
protected void |
repaintCellFocus()
Helper method to repaint the focused cell's
lost or acquired focus state.
|
public BasicListUI.FocusHandler()
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
e
- The FocusEvent representing focus acquisitionpublic void focusLost(FocusEvent e)
focusLost
in interface FocusListener
e
- The FocusEvent representing focus lossprotected void repaintCellFocus()