| Package | Description |
|---|---|
| org.dominokit.domino.ui.menu |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMenuItem<V,T extends AbstractMenuItem<V,T>>
The base implementation for
AbstractMenu items |
| Modifier and Type | Class and Description |
|---|---|
class |
CustomMenuItem
An implementation of
AbstractMenuItem that can take custom content |
class |
MenuItem<V>
An implementation og the
AbstractMenuItem for a menu item that can have a main text and a
description The base implementation for AbstractMenu items |
| Modifier and Type | Field and Description |
|---|---|
protected KeyboardNavigation<AbstractMenuItem<V,?>> |
AbstractMenu.keyboardNavigation |
protected List<AbstractMenuItem<V,?>> |
AbstractMenu.menuItems |
| Modifier and Type | Method and Description |
|---|---|
AbstractMenuItem<V,?> |
AbstractMenu.getParentItem() |
| Modifier and Type | Method and Description |
|---|---|
KeyboardNavigation<AbstractMenuItem<V,?>> |
AbstractMenu.getKeyboardNavigation() |
List<AbstractMenuItem<V,?>> |
AbstractMenu.getMenuItems() |
| Modifier and Type | Method and Description |
|---|---|
T |
AbstractMenu.appendChild(AbstractMenuItem<V,?> menuItem)
Appends a menu item to this menu
|
protected void |
AbstractMenu.onItemSelected(AbstractMenuItem<V,?> item) |
void |
AbstractMenu.MenuItemSelectionHandler.onItemSelected(AbstractMenuItem<V,?> menuItem)
Will be called when a menu item is called
|
T |
AbstractMenu.removeItem(AbstractMenuItem<V,?> menuItem)
Removes a menu item from this menu
|
T |
AbstractMenu.select(AbstractMenuItem<V,?> menuItem)
Selects the specified menu item if it is one of this menu items
|
T |
AbstractMenu.select(AbstractMenuItem<V,?> menuItem,
boolean silent)
Selects the menu item at the specified index if exists
|
Copyright © 2019–2022 Dominokit. All rights reserved.