protected class JComponent.AccessibleJComponent.AccessibleFocusHandler extends Object implements FocusListener
| Modifier | Constructor and Description |
|---|---|
protected |
JComponent.AccessibleJComponent.AccessibleFocusHandler()
Creates a new AccessibleFocusHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
focusGained(FocusEvent event)
Receives notification when the JComponent gained focus and fires
a PropertyChangeEvent to listeners registered on the
AccessibleJComponent with a property name of
AccessibleContext.ACCESSIBLE_STATE_PROPERTY and a new value
of AccessibleState.FOCUSED. |
void |
focusLost(FocusEvent valevent)
Receives notification when the JComponent lost focus and fires
a PropertyChangeEvent to listeners registered on the
AccessibleJComponent with a property name of
AccessibleContext.ACCESSIBLE_STATE_PROPERTY and an old value
of AccessibleState.FOCUSED. |
protected JComponent.AccessibleJComponent.AccessibleFocusHandler()
public void focusGained(FocusEvent event)
AccessibleContext.ACCESSIBLE_STATE_PROPERTY and a new value
of AccessibleState.FOCUSED.focusGained in interface FocusListenerevent - the FocusEvent indicating that focus was gainedpublic void focusLost(FocusEvent valevent)
AccessibleContext.ACCESSIBLE_STATE_PROPERTY and an old value
of AccessibleState.FOCUSED.focusLost in interface FocusListenervalevent - the FocusEvent indicating that focus was lost