public abstract class UiHandlerEventFocus extends Object implements UiHandlerEvent
UiHandlerEvent
for the actions onFocusGain(UiEventFocusGain)
and
onFocusGain(UiEventFocusGain)
. There will always be two events:
Constructor and Description |
---|
UiHandlerEventFocus() |
Modifier and Type | Method and Description |
---|---|
void |
onEvent(UiEvent event)
|
abstract void |
onFocusGain(UiEventFocusGain event)
This method is invoked if an UI object (a text input, etc.) has gained focus.
|
abstract void |
onFocusLoss(UiEventFocusLoss event)
This method is invoked if an UI object (a text input, etc.) has lost focus (blur).
|
public void onEvent(UiEvent event)
onEvent
in interface UiHandlerEvent
event
- is the UiEvent
that has been sent.public abstract void onFocusGain(UiEventFocusGain event)
event
- is the focus gain event
.public abstract void onFocusLoss(UiEventFocusLoss event)
event
- is the focus gain event
.Copyright © 2001–2016 mmm-Team. All rights reserved.