Interface IUIFocusListener
public interface IUIFocusListener extends IUIBaseEventListener
{
// Methods
public void focusGained(UIFocusEvent e);
public void focusLost(UIFocusEvent e);
}
This listener interface defines methods that determine when an IUIComponent receives or loses keyboard focus.
EventListener
|
+--IUIBaseEventListener
|
+--IUIFocusListener
public void focusGained(UIFocusEvent e);
Invoked when an IUIComponent gains the keyboard focus.
Return Value:
No return value.
Parameter | Description |
e
| The FOCUS_GAINED event that was posted.
|
public void focusLost(UIFocusEvent e);
Invoked when an IUIComponent loses the keyboard focus.
Return Value:
No return value.
Parameter | Description |
e
| The FOCUS_LOST event that was posted.
|