TYPE - The data type handled by the componentpublic interface LiveSearchSelectionHandler<TYPE>
LiveSearchDropDown| Modifier and Type | Method and Description |
|---|---|
void |
clearSelection()
Clears the selection
|
String |
getDropDownMenuHeader()
Retrieves the text for the
LiveSearchDropDown header based on the selected values |
boolean |
isMultipleSelection()
Determines if the handler supports multiple selection or not.
|
void |
registerItem(LiveSearchSelectorItem<TYPE> item)
Registers and initializes the given
LiveSearchSelectorItem |
void |
selectItem(LiveSearchSelectorItem<TYPE> item)
Sets the given
LiveSearchSelectorItem as a selected value |
void |
selectKey(TYPE key)
Selects the
LiveSearchSelectorItem that has the given key |
void |
setLiveSearchSelectionCallback(Command command)
Sets the
Command callback to notify the LiveSearchDropDown when there's a selection change. |
String getDropDownMenuHeader()
LiveSearchDropDown header based on the selected valuesLiveSearchDropDown headervoid registerItem(LiveSearchSelectorItem<TYPE> item)
LiveSearchSelectorItemitem - void selectItem(LiveSearchSelectorItem<TYPE> item)
LiveSearchSelectorItem as a selected valueitem - void selectKey(TYPE key)
LiveSearchSelectorItem that has the given keykey - void clearSelection()
void setLiveSearchSelectionCallback(Command command)
Command callback to notify the LiveSearchDropDown when there's a selection change.command - boolean isMultipleSelection()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.