public interface UiAccessKeyBinding
access keys
.Modifier and Type | Method and Description |
---|---|
void |
bindAccessKey(char key,
UiWidgetActive widget)
This method registers the given
key for the given widget . |
boolean |
invokeAccessKey(char key)
This method simulates the effect of pressing the access key programmatically.
|
boolean |
unbindAccessKey(char key,
UiWidgetActive widget)
This method unregisters the given
key for the given widget . |
void |
verifyUniqueAccessKeys()
This method verifies that there are no conflicts with multiple bindings of the same access key.
|
void bindAccessKey(char key, UiWidgetActive widget)
key
for the given widget
.key
- is the access
key
.widget
- is the active widget
that has been bound to the access key.boolean unbindAccessKey(char key, UiWidgetActive widget)
key
for the given widget
.key
- is the access
key
.widget
- is the active widget
that has been unbound from the access key.true
if the access key has been unbound successfully, false
otherwise
(it was not bound before).boolean invokeAccessKey(char key)
key
- is the access
key
.true
if the access key has been invoked successfully (as it was bound to a widget
currently visible), false
otherwise.void verifyUniqueAccessKeys()
Copyright © 2001–2016 mmm-Team. All rights reserved.