Class CmsSearchTab
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.opencms.ade.galleries.client.ui.A_CmsTab
org.opencms.ade.galleries.client.ui.CmsSearchTab
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.IsRenderable,com.google.gwt.user.client.ui.IsWidget
Provides the widget for the full text search tab.
- Since:
- 8.0.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe parameter types of this tab.Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CmsPushButtonThe button to clear the tab input.protected StringThe current locale.protected CmsDateBoxThe date box for the created until date.protected com.google.gwt.user.client.ui.LabelThe label for the created until date.protected CmsDateBoxThe date box for the created since date.protected com.google.gwt.user.client.ui.LabelThe label for the created since date.protected CmsDateBoxThe date box for the modified until date.protected com.google.gwt.user.client.ui.LabelThe label for the modified until date.protected CmsDateBoxThe date box for the modified since date.protected com.google.gwt.user.client.ui.LabelThe label for the modified since date.protected CmsCheckBoxThe include expired resources check-box.protected com.google.gwt.user.client.ui.LabelThe label for the language selection.protected com.google.gwt.user.client.ui.HTMLPanelThe row for the language selection.protected CmsSelectBoxThe select box for the language selection.Fields inherited from class org.opencms.ade.galleries.client.ui.A_CmsTab
m_tabTextAccessorFields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionCmsSearchTab(CmsSearchTabHandler tabHandler, I_CmsAutoHider autoHideParent, String currentLocale, Map<String, String> availableLocales, boolean defaultIncludeExpired) Constructor for the search tab. -
Method Summary
Modifier and TypeMethodDescriptionvoidClears the search tab input.protected voidclearInput(com.google.gwt.event.dom.client.ClickEvent event) Clears the search tab input.voidfillParams(org.opencms.ade.galleries.shared.CmsGallerySearchBean search) Sets the form fields to the values from the stored gallery search.getParamPanels(org.opencms.ade.galleries.shared.CmsGallerySearchBean searchObj) Returns the search parameters to display within the result tab.intReturns the height required by this tab.Returns the tab handler.protected voidonDateCreatedEndChange(com.google.gwt.event.logical.shared.ValueChangeEvent<Date> event) Handles changes of date created range end box.protected voidonDateCreatedStartChange(com.google.gwt.event.logical.shared.ValueChangeEvent<Date> event) Handles changes of date created range start box.protected voidonDateModifiedEndChange(com.google.gwt.event.logical.shared.ValueChangeEvent<Date> event) Handles changes of date modified range end box.protected voidonDateModifiedStartChange(com.google.gwt.event.logical.shared.ValueChangeEvent<Date> event) Handles changes of date modified range start box.protected voidonIncludeExpiredChange(com.google.gwt.event.logical.shared.ValueChangeEvent<Boolean> event) Handles changes of the include expired check box.protected voidonLocaleChange(com.google.gwt.event.logical.shared.ValueChangeEvent<String> event) Handles the change event of the locale select box.voidRemoves the given parameter type.Methods inherited from class org.opencms.ade.galleries.client.ui.A_CmsTab
clearParams, getTabId, isSelected, onDeselection, onResize, onSelection, removeParam, setTabTextAccessorMethods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetMethods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsMethods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Field Details
-
m_clearButton
The button to clear the tab input. -
m_currentLocale
The current locale. -
m_dateCreatedEndDateBox
The date box for the created until date. -
m_dateCreatedEndLabel
The label for the created until date. -
m_dateCreatedStartDateBox
The date box for the created since date. -
m_dateCreatedStartLabel
The label for the created since date. -
m_dateModifiedEndDateBox
The date box for the modified until date. -
m_dateModifiedEndLabel
The label for the modified until date. -
m_dateModifiedStartDateBox
The date box for the modified since date. -
m_dateModifiedStartLabel
The label for the modified since date. -
m_includeExpiredCheckBox
The include expired resources check-box. -
m_localeLabel
The label for the language selection. -
m_localeRow
The row for the language selection. -
m_localeSelection
The select box for the language selection.
-
-
Constructor Details
-
CmsSearchTab
public CmsSearchTab(CmsSearchTabHandler tabHandler, I_CmsAutoHider autoHideParent, String currentLocale, Map<String, String> availableLocales, boolean defaultIncludeExpired) Constructor for the search tab.- Parameters:
tabHandler- the tab handlerautoHideParent- the auto-hide parent to this dialog if presentcurrentLocale- the current content localeavailableLocales- the available localesdefaultIncludeExpired- true if 'show expired' should be enabled by default
-
-
Method Details
-
clearInput
Clears the search tab input. -
getRequiredHeight
Description copied from class:A_CmsTabReturns the height required by this tab.- Specified by:
getRequiredHeightin classA_CmsTab- Returns:
- the height
- See Also:
-
getTabHandler
Description copied from class:A_CmsTabReturns the tab handler.- Specified by:
getTabHandlerin classA_CmsTab- Returns:
- the tab handler
- See Also:
-
removeParameter
Removes the given parameter type.- Parameters:
type- the parameter type
-
clearInput
@UiHandler("m_clearButton") protected void clearInput(com.google.gwt.event.dom.client.ClickEvent event) Clears the search tab input.- Parameters:
event- the click event
-