| Package | Description |
|---|---|
| org.dominokit.domino.ui.chips | |
| org.dominokit.domino.ui.tag |
| Modifier and Type | Method and Description |
|---|---|
Chip |
Chip.addDeselectionHandler(HasDeselectionHandler.DeselectionHandler deselectionHandler) |
Chip |
Chip.addRemoveHandler(HasRemoveHandler.RemoveHandler removeHandler)
adds a remove handler to the component
|
Chip |
Chip.addSelectionHandler(HasSelectionHandler.SelectionHandler<String> selectionHandler)
Adds a Selection handler to the component
|
static Chip |
Chip.create() |
static Chip |
Chip.create(String value) |
Chip |
Chip.deselect()
Marks the chip as deselected.
|
Chip |
Chip.disable() |
Chip |
Chip.enable() |
Chip |
ChipsGroup.getSelectedChip() |
Chip |
Chip.remove()
removes the element from the DOM tree
|
Chip |
Chip.remove(boolean silent)
Removes the chip.
|
Chip |
Chip.removeLeftAddon()
Removes the left element.
|
Chip |
Chip.removeSelectionHandler(HasSelectionHandler.SelectionHandler<String> selectionHandler) |
Chip |
Chip.select()
Marks the chip as selected.
|
Chip |
Chip.setBorderColor(Color borderColor)
Sets the border
Color |
Chip |
Chip.setColor(Color color)
Sets the color.
|
Chip |
Chip.setColorScheme(ColorScheme colorScheme)
Sets the color scheme for this component.
|
Chip |
Chip.setLeftBackground(Color leftBackground)
Sets the left container background
|
Chip |
Chip.setLeftIcon(BaseIcon<?> icon)
Sets the left icon of the chip
|
Chip |
Chip.setLeftImg(elemental2.dom.HTMLImageElement imageElement)
Sets the left image of the chip.
|
Chip |
Chip.setLeftImg(org.jboss.elemento.IsElement<elemental2.dom.HTMLImageElement> imageElement)
Same as
setLeftImg(HTMLImageElement) but with a wrapper IsElement |
Chip |
Chip.setLeftLetter(String text)
Sets the left element as a letter.
|
Chip |
Chip.setRemovable(boolean removable)
Sets if this chip can be removed or not.
|
Chip |
Chip.setRemoveIcon(elemental2.dom.HTMLElement removeIcon)
Sets the remove icon element.
|
Chip |
Chip.setRemoveIcon(org.jboss.elemento.IsElement<?> removeIcon)
Same as
setRemoveIcon(HTMLElement) but accepts a wrapper IsElement |
Chip |
Chip.setSelectable(boolean selectable)
Sets if the chip can be selected or not.
|
Chip |
Chip.setValue(String value)
Sets the text of the chip.
|
Chip |
Chip.toggleSelect()
Selects/Deselects the chip based on its current status (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
List<Chip> |
ChipsGroup.getChips() |
| Modifier and Type | Method and Description |
|---|---|
ChipsGroup |
ChipsGroup.addChip(Chip chip)
Deprecated.
|
ChipsGroup |
ChipsGroup.appendChild(Chip chip)
Adds new
Chip |
| Modifier and Type | Method and Description |
|---|---|
ChipsGroup |
ChipsGroup.addSelectionHandler(HasSelectionHandler.SelectionHandler<Chip> selectionHandler)
Adds a Selection handler to the component
|
ChipsGroup |
ChipsGroup.removeSelectionHandler(HasSelectionHandler.SelectionHandler<Chip> selectionHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractTagsInput.appendChip(Chip chip,
V value)
Appends a new chip representing to the value
|
Copyright © 2019–2022 Dominokit. All rights reserved.