public class SelectionPopup<M> extends DwWindow
| Modifier and Type | Class and Description |
|---|---|
static interface |
SelectionPopup.ItemsSelectedCallback<M> |
DwWindow.OnButtonClickHandlerCSS_BBAR, CSS_BODY_NAME, CSS_CONTENT_NAME, CSS_HEADER_NAME, CSS_NAME| Constructor and Description |
|---|
SelectionPopup(<any> store,
<any> nameProvider) |
SelectionPopup(<any> allItemsStore,
java.util.Map<<any>,java.lang.String> displayProperty) |
SelectionPopup(<any> allItemsStore,
java.util.Map<<any>,java.lang.String> displayPropertyLeft,
java.util.Map<<any>,java.lang.String> displayPropertyRight) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<<any>,java.lang.String> |
getDisplayProperties() |
SelectionPopup.ItemsSelectedCallback<M> |
getSelectionCallback() |
void |
loadData() |
void |
setLoader(<any> loader) |
void |
setSelectedItem(M model) |
void |
setSelectedItems(java.util.List<M> models) |
void |
setSelectionCallback(SelectionPopup.ItemsSelectedCallback<M> selectionCallback) |
void |
setSelectionMode(SelectionMode mode) |
void |
show() |
add, add, addCancelButton, addCancelButton, addClassName, addSpecButton, addSpecButton, addSubmitButton, getCssBodyName, getCssContentName, getCssHeaderName, getCssName, newAutoSizeDialog, newAutoSizeDialog, setCenterOnShow, setHeaderIcon, setSizepublic SelectionPopup(<any> allItemsStore,
java.util.Map<<any>,java.lang.String> displayProperty)
allItemsStore - the store with all selectable itemsdisplayProperty - a list with properties to be displayedpublic SelectionPopup(<any> allItemsStore,
java.util.Map<<any>,java.lang.String> displayPropertyLeft,
java.util.Map<<any>,java.lang.String> displayPropertyRight)
allItemsStore - the store with all selectable itemspublic SelectionPopup(<any> store,
<any> nameProvider)
public void loadData()
public void setSelectionMode(SelectionMode mode)
public void setSelectedItem(M model)
public void setSelectedItems(java.util.List<M> models)
public void setSelectionCallback(SelectionPopup.ItemsSelectedCallback<M> selectionCallback)
public SelectionPopup.ItemsSelectedCallback<M> getSelectionCallback()
public java.util.Map<<any>,java.lang.String> getDisplayProperties()
public void setLoader(<any> loader)