public class CmsCategoriesTabHandler extends A_CmsTabHandler
This class receives events information from the categories tab and delegates them to the gallery controller.
m_controller
构造器和说明 |
---|
CmsCategoriesTabHandler(CmsGalleryController controller)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
clearParams()
Clears the search parameters of this tab.
|
void |
onDeselectCategory(java.lang.String categoryPath)
Will be triggered when the user unchecks the checkbox to deselect a category.
|
void |
onSelectCategory(java.lang.String categoryPath)
Will be triggered when the user checks the checkbox to select a category.
|
void |
onSelection()
Will be triggered when the tab is selected.
|
void |
onSort(java.lang.String sortParams,
java.lang.String filter)
Sorts the list, if present.
|
void |
removeParam(java.lang.String paramKey)
Removes the search parameter with the given key from the search object.
|
addSearchChangeHandler, onClose, onDeselection, selectResource, selectResultTab, setSearchQuery, updateIndex
public CmsCategoriesTabHandler(CmsGalleryController controller)
controller
- the gallery controllerpublic void clearParams()
A_CmsTabHandler
clearParams
在类中 A_CmsTabHandler
A_CmsTabHandler.clearParams()
public void onDeselectCategory(java.lang.String categoryPath)
categoryPath
- the category path as idpublic void onSelectCategory(java.lang.String categoryPath)
categoryPath
- the category path as idpublic void onSelection()
A_CmsTabHandler
onSelection
在类中 A_CmsTabHandler
A_CmsTabHandler.onSelection()
public void onSort(java.lang.String sortParams, java.lang.String filter)
A_CmsTabHandler
onSort
在类中 A_CmsTabHandler
sortParams
- the sort parametersfilter
- the filter phraseA_CmsTabHandler.onSort(java.lang.String,java.lang.String)
public void removeParam(java.lang.String paramKey)
A_CmsTabHandler
removeParam
在类中 A_CmsTabHandler
paramKey
- the parameter keyA_CmsTabHandler.removeParam(java.lang.String)