Package org.opencms.ade.galleries.client
Class CmsCategoriesTabHandler
java.lang.Object
org.opencms.ade.galleries.client.A_CmsTabHandler
org.opencms.ade.galleries.client.CmsCategoriesTabHandler
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>
,com.google.gwt.event.shared.EventHandler
The categories tab handler.
This class receives events information from the categories tab and delegates them to the gallery controller.
- Since:
- 8.0.0
-
Field Summary
Fields inherited from class org.opencms.ade.galleries.client.A_CmsTabHandler
m_controller
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears the search parameters of this tab.void
onDeselectCategory
(String categoryPath) Will be triggered when the user unchecks the checkbox to deselect a category.void
onSelectCategory
(String categoryPath) Will be triggered when the user checks the checkbox to select a category.void
Will be triggered when the tab is selected.void
Sorts the list, if present.void
removeParam
(String paramKey) Removes the search parameter with the given key from the search object.Methods inherited from class org.opencms.ade.galleries.client.A_CmsTabHandler
addSearchChangeHandler, getGalleryInfo, getTypeInfo, onClose, onDeselection, selectResource, selectResultTab, setSearchQuery, updateIndex, updateSize
-
Constructor Details
-
CmsCategoriesTabHandler
Constructor.- Parameters:
controller
- the gallery controller
-
-
Method Details
-
clearParams
Description copied from class:A_CmsTabHandler
Clears the search parameters of this tab.- Specified by:
clearParams
in classA_CmsTabHandler
- See Also:
-
onDeselectCategory
Will be triggered when the user unchecks the checkbox to deselect a category.- Parameters:
categoryPath
- the category path as id
-
onSelectCategory
Will be triggered when the user checks the checkbox to select a category.- Parameters:
categoryPath
- the category path as id
-
onSelection
Description copied from class:A_CmsTabHandler
Will be triggered when the tab is selected.- Specified by:
onSelection
in classA_CmsTabHandler
- See Also:
-
onSort
Description copied from class:A_CmsTabHandler
Sorts the list, if present.- Specified by:
onSort
in classA_CmsTabHandler
- Parameters:
sortParams
- the sort parametersfilter
- the filter phrase- See Also:
-
removeParam
Description copied from class:A_CmsTabHandler
Removes the search parameter with the given key from the search object.- Specified by:
removeParam
in classA_CmsTabHandler
- Parameters:
paramKey
- the parameter key- See Also:
-