public interface UiFeatureFocus extends UiFeature, AttributeWriteFocused
features
of a focusable object. It can check
and set
its
focus and allows to add
and
remove
instances of UiHandlerEventFocus
.Modifier and Type | Method and Description |
---|---|
void |
addFocusHandler(UiHandlerEventFocus handler)
This method adds the given
UiHandlerEventFocus to this object. |
boolean |
removeFocusHandler(UiHandlerEventFocus handler)
This method removes the given
UiHandlerEventFocus from this object. |
isFocused
setFocused
void addFocusHandler(UiHandlerEventFocus handler)
UiHandlerEventFocus
to this object.handler
- is the UiHandlerEventFocus
to add.boolean removeFocusHandler(UiHandlerEventFocus handler)
UiHandlerEventFocus
from this object.handler
- is the UiHandlerEventFocus
to remove.true
if the handler
has been removed successfully, false
if it was NOT registered
and nothing has changed.Copyright © 2001–2016 mmm-Team. All rights reserved.