protected class JComponent.AccessibleJComponent.AccessibleFocusHandler extends java.lang.Object implements java.awt.event.FocusListener
| Modifier | Constructor and Description |
|---|---|
protected |
JComponent.AccessibleJComponent.AccessibleFocusHandler()
Creates a new AccessibleFocusHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
focusGained(java.awt.event.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(java.awt.event.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(java.awt.event.FocusEvent event)
AccessibleContext.ACCESSIBLE_STATE_PROPERTY and a new value
of AccessibleState.FOCUSED.focusGained in interface java.awt.event.FocusListenerevent - the FocusEvent indicating that focus was gainedpublic void focusLost(java.awt.event.FocusEvent valevent)
AccessibleContext.ACCESSIBLE_STATE_PROPERTY and an old value
of AccessibleState.FOCUSED.focusLost in interface java.awt.event.FocusListenervalevent - the FocusEvent indicating that focus was lost