|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.JComponent.AccessibleJComponent.AccessibleFocusHandler
protected class JComponent.AccessibleJComponent.AccessibleFocusHandler
Receives notification if the focus on the JComponent changes and fires appropriate PropertyChangeEvents to listeners registered with the AccessibleJComponent.
Constructor Summary | |
---|---|
protected |
JComponent.AccessibleJComponent.AccessibleFocusHandler()
Creates a new AccessibleFocusHandler. |
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected JComponent.AccessibleJComponent.AccessibleFocusHandler()
Method Detail |
---|
public void focusGained(FocusEvent event)
AccessibleContext.ACCESSIBLE_STATE_PROPERTY
and a new value
of AccessibleState.FOCUSED
.
focusGained
in interface FocusListener
event
- 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 FocusListener
valevent
- the FocusEvent
indicating that focus was lost
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |