| Package | Description |
|---|---|
| org.dominokit.domino.ui.dropdown | |
| org.dominokit.domino.ui.menu | |
| org.dominokit.domino.ui.utils |
| Modifier and Type | Class and Description |
|---|---|
class |
MenuNavigation<V extends org.jboss.elemento.IsElement<?>>
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected KeyboardNavigation<AbstractMenuItem<V,?>> |
AbstractMenu.keyboardNavigation |
| Modifier and Type | Method and Description |
|---|---|
KeyboardNavigation<AbstractMenuItem<V,?>> |
AbstractMenu.getKeyboardNavigation() |
| Modifier and Type | Method and Description |
|---|---|
static <V extends org.jboss.elemento.IsElement<?>> |
KeyboardNavigation.create(List<V> items)
Creates new navigation for a menu contains a list of items
|
KeyboardNavigation<V> |
KeyboardNavigation.focusCondition(KeyboardNavigation.FocusCondition<V> focusCondition)
Adds a condition which evaluates if an item should be focused or not
|
KeyboardNavigation<V> |
KeyboardNavigation.onEscape(KeyboardNavigation.EscapeHandler escapeHandler)
Sets a handler which will be called when escape key is pressed
|
KeyboardNavigation<V> |
KeyboardNavigation.onFocus(KeyboardNavigation.FocusHandler<V> focusHandler)
Sets a handler which will be called when an item gets focused
|
KeyboardNavigation<V> |
KeyboardNavigation.onSelect(KeyboardNavigation.ItemNavigationHandler<V> selectHandler)
Sets a handler which will be called when an item gets selected
|
KeyboardNavigation<V> |
KeyboardNavigation.registerNavigationHandler(String keyCode,
KeyboardNavigation.ItemNavigationHandler<V> navigationHandler) |
KeyboardNavigation<V> |
KeyboardNavigation.removeNavigationHandler(String keyCode,
KeyboardNavigation.ItemNavigationHandler<V> navigationHandler) |
KeyboardNavigation<V> |
KeyboardNavigation.setEnterHandler(KeyboardNavigation.ItemNavigationHandler<V> enterHandler)
A handler to be called when the user press enter key
|
KeyboardNavigation<V> |
KeyboardNavigation.setEnterOptions(KeyboardNavigation.EventOptions enterOptions)
Set global stopPropagation and preventDefault for enter key events
|
KeyboardNavigation<V> |
KeyboardNavigation.setGlobalOptions(KeyboardNavigation.EventOptions globalOptions)
Set global stopPropagation and preventDefault for all navigation keyboard events
|
KeyboardNavigation<V> |
KeyboardNavigation.setSpaceHandler(KeyboardNavigation.ItemNavigationHandler<V> spaceHandler)
A handler to be called when the user press sapce key
|
KeyboardNavigation<V> |
KeyboardNavigation.setSpaceOptions(KeyboardNavigation.EventOptions spaceOptions)
Set global stopPropagation and preventDefault for space key events
|
KeyboardNavigation<V> |
KeyboardNavigation.setTabHandler(KeyboardNavigation.ItemNavigationHandler<V> tabHandler)
A handler to be called when the user press tab key
|
KeyboardNavigation<V> |
KeyboardNavigation.setTabOptions(KeyboardNavigation.EventOptions tabOptions)
Set global stopPropagation and preventDefault for tab key events
|
Copyright © 2019–2022 Dominokit. All rights reserved.