T - the type of the component implementing this interfaceV - the type of the Value being selectedpublic interface HasSelectionHandler<T,V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
HasSelectionHandler.SelectionHandler<V>
A function to implement logic to be executed when a component being selected
|
| Modifier and Type | Method and Description |
|---|---|
T |
addSelectionHandler(HasSelectionHandler.SelectionHandler<V> selectionHandler)
Adds a Selection handler to the component
|
T |
removeSelectionHandler(HasSelectionHandler.SelectionHandler<V> selectionHandler) |
T addSelectionHandler(HasSelectionHandler.SelectionHandler<V> selectionHandler)
selectionHandler - Selectable.SelectionHandlerT removeSelectionHandler(HasSelectionHandler.SelectionHandler<V> selectionHandler)
Copyright © 2019–2022 Dominokit. All rights reserved.