public class SearchFilterPopupController
extends DefaultWidgetController
| Modifier and Type | Field and Description |
|---|---|
static String |
COMP_ID_ADDFILTER |
static String |
COMP_ID_FACET_WINDOW |
static String |
FACETS_MODEL_KEY |
protected static String |
SCLASS_BUTTON_ACTIVE |
static String |
SOCKET_IN_CLOSEPOPUP |
static String |
SOCKET_IN_SEARCHRESULT |
| Constructor and Description |
|---|
SearchFilterPopupController() |
| Modifier and Type | Method and Description |
|---|---|
void |
buttonClicked()
On click event handler for the 'addFilter' button.
|
void |
closeWindow(Event event)
Input socket to handle popup close.
|
void |
initialize(Component comp) |
void |
resetSearchAndCloseWindow(Event event)
Evant handler to handle manual popup closing.
|
protected void |
setFacetFilterButtonVisibility()
Determines if the filter button is visible.
|
void |
setNewFacets(ProductSearchPageData<SearchStateData,ProductData> searchResult)
Sets the buttons active state (by setting css class) if there are active filters set at the given searchResult.
|
public static final String SOCKET_IN_CLOSEPOPUP
public static final String SOCKET_IN_SEARCHRESULT
public static final String COMP_ID_ADDFILTER
public static final String COMP_ID_FACET_WINDOW
public static final String FACETS_MODEL_KEY
protected static final String SCLASS_BUTTON_ACTIVE
public void initialize(Component comp)
public void setNewFacets(ProductSearchPageData<SearchStateData,ProductData> searchResult)
public void buttonClicked()
public void resetSearchAndCloseWindow(Event event)
public void closeWindow(Event event)
protected void setFacetFilterButtonVisibility()
Copyright © 2017 SAP SE. All Rights Reserved.