| Package | Description |
|---|---|
| org.dominokit.domino.ui.button | |
| org.dominokit.domino.ui.dropdown | |
| org.dominokit.domino.ui.forms |
| Modifier and Type | Method and Description |
|---|---|
DropDownMenu |
DropdownButton.getDropDownMenu() |
| Modifier and Type | Method and Description |
|---|---|
DropDownMenu |
DropDownMenu.addAction(DropdownAction<?> action)
Deprecated.
|
DropDownMenu |
DropDownMenu.addCloseHandler(DropDownMenu.CloseHandler closeHandler)
Adds a close handler to be called when the menu is closed
|
DropDownMenu |
DropDownMenu.addGroup(DropdownActionsGroup<?> group)
Adds new group of actions to this menu as a one unit
|
DropDownMenu |
DropDownMenu.addOpenHandler(DropDownMenu.OpenHandler openHandler)
Adds an open handler to be called when the menu is opened
|
DropDownMenu |
DropDownMenu.appendChild(DropdownAction<?> action)
Adds an action
|
DropDownMenu |
DropDownMenu.appendChild(elemental2.dom.Node child) |
DropDownMenu |
DropDownMenu.clearActions()
Clears all the actions
|
static DropDownMenu |
DropDownMenu.create(elemental2.dom.HTMLElement targetElement)
Creates drop down menu relative to
targetElement. |
static DropDownMenu |
DropDownMenu.create(org.jboss.elemento.IsElement<?> targetElement)
Same as
create(HTMLElement) but accepts a wrapper IsElement |
DropDownMenu |
DropDownMenu.insertFirst(DropdownAction<?> action)
Inserts an action at the first index
|
DropDownMenu |
DropDownMenu.removeCloseHandler(DropDownMenu.CloseHandler closeHandler)
Removes a close handler
|
DropDownMenu |
DropDownMenu.removeOpenHandler(DropDownMenu.OpenHandler openHandler)
Removes an open handler
|
DropDownMenu |
DropDownMenu.selectAt(int index)
Focuses an action at a specific
index |
DropDownMenu |
DropDownMenu.separator()
Adds a separator element
|
DropDownMenu |
DropDownMenu.setAppendStrategy(AppendStrategy appendStrategy)
Sets the strategy for adding the menu to the target element.
|
DropDownMenu |
DropDownMenu.setAppendTarget(elemental2.dom.HTMLElement appendTarget)
Sets the target element for this menu that will be positioned according to its location
|
DropDownMenu |
DropDownMenu.setBackground(Color background) |
DropDownMenu |
DropDownMenu.setCreatable(boolean creatable)
Sets if the menu accepts creating new actions on the fly.
|
DropDownMenu |
DropDownMenu.setNoMatchSearchResultText(String text)
Set the text which is displayed in case nothing is found at a searchable
DropDownMenu
Default is "No results matched". |
DropDownMenu |
DropDownMenu.setOnAddListener(DropDownMenu.OnAdd onAdd)
Adds a listener that will be called when a new action is added
|
DropDownMenu |
DropDownMenu.setPosition(DropDownPosition position)
Sets the position of the menu
|
DropDownMenu |
DropDownMenu.setSearchable(boolean searchable)
Sets if the menu is searchable or not.
|
DropDownMenu |
DropDownMenu.setSearchFilter(DropDownMenu.SearchFilter searchFilter)
Sets the search filter strategy that will be called to filter the actions based on the search
value
|
DropDownMenu |
DropDownMenu.setTitle(String title)
Sets the title of this menu
|
| Modifier and Type | Method and Description |
|---|---|
void |
DropdownActionsGroup.bindTo(DropDownMenu menu)
Appends this group to a
menu, this will add all the actions to the menu without the
title |
| Modifier and Type | Method and Description |
|---|---|
DropDownMenu |
Select.getOptionsMenu() |
DropDownMenu |
AbstractSelect.getOptionsMenu() |
DropDownMenu |
AbstractSuggestBox.getSuggestionsMenu() |
Copyright © 2019–2022 Dominokit. All rights reserved.