public class CmsSearchTab extends A_CmsTab
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CmsSearchTab.ParamType
The parameter types of this tab.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected CmsPushButton |
m_clearButton
The button to clear the tab input.
|
protected java.lang.String |
m_currentLocale
The current locale.
|
protected CmsDateBox |
m_dateCreatedEndDateBox
The date box for the created until date.
|
protected com.google.gwt.user.client.ui.Label |
m_dateCreatedEndLabel
The label for the created until date.
|
protected CmsDateBox |
m_dateCreatedStartDateBox
The date box for the created since date.
|
protected com.google.gwt.user.client.ui.Label |
m_dateCreatedStartLabel
The label for the created since date.
|
protected CmsDateBox |
m_dateModifiedEndDateBox
The date box for the modified until date.
|
protected com.google.gwt.user.client.ui.Label |
m_dateModifiedEndLabel
The label for the modified until date.
|
protected CmsDateBox |
m_dateModifiedStartDateBox
The date box for the modified since date.
|
protected com.google.gwt.user.client.ui.Label |
m_dateModifiedStartLabel
The label for the modified since date.
|
protected CmsCheckBox |
m_includeExpiredCheckBox
The include expired resources check-box.
|
protected com.google.gwt.dom.client.DivElement |
m_includeExpiredRow
The include expired resources form row.
|
protected com.google.gwt.user.client.ui.Label |
m_localeLabel
The label for the language selection.
|
protected com.google.gwt.user.client.ui.HTMLPanel |
m_localeRow
The row for the language selection.
|
protected CmsSelectBox |
m_localeSelection
The select box for the language selection.
|
protected com.google.gwt.user.client.ui.Label |
m_scopeLabel
The label for the search scope selection.
|
protected com.google.gwt.user.client.ui.HTMLPanel |
m_scopeRow
The row for the search scope selection.
|
protected CmsSelectBox |
m_scopeSelection
The select box for the search scope selection.
|
protected CmsPushButton |
m_searchButton
The search button.
|
protected CmsTextBox |
m_searchInput
The input field for the search query.
|
protected com.google.gwt.user.client.ui.Label |
m_searchLabel
The label for the search query.
|
m_tabTextAccessor| 构造器和说明 |
|---|
CmsSearchTab(CmsSearchTabHandler tabHandler,
I_CmsAutoHider autoHideParent,
java.lang.String currentLocale,
java.util.Map<java.lang.String,java.lang.String> availableLocales,
CmsGallerySearchScope scope,
CmsGallerySearchScope defaultScope)
Constructor for the search tab.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearInput()
Clears the search tab input.
|
protected void |
clearInput(com.google.gwt.event.dom.client.ClickEvent event)
Clears the search tab input.
|
void |
enableExpiredResourcesSearch(boolean enable)
Enables the include expired resources form input.
|
java.util.List<CmsSearchParamPanel> |
getParamPanels(CmsGallerySearchBean searchObj)
Returns the search parameters to display within the result tab.
|
CmsSearchTabHandler |
getTabHandler()
Returns the tab handler.
|
protected void |
onDateCreatedEndChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.util.Date> event)
Handles changes of date created range end box.
|
protected void |
onDateCreatedStartChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.util.Date> event)
Handles changes of date created range start box.
|
protected void |
onDateModifiedEndChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.util.Date> event)
Handles changes of date modified range end box.
|
protected void |
onDateModifiedStartChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.util.Date> event)
Handles changes of date modified range start box.
|
protected void |
onIncludeExpiredChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.Boolean> event)
Handles changes of the include expired check box.
|
protected void |
onLocaleChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)
Handles the change event of the locale select box.
|
protected void |
onScopeChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)
Handles the change event on the search scope select box.
|
protected void |
onSearchInputChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)
Handles search input change events.
|
protected void |
onSearchInputKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
Handles key press events of the search input field.
|
void |
removeParameter(CmsSearchTab.ParamType type)
Removes the given parameter type.
|
protected void |
startSearch(com.google.gwt.event.dom.client.ClickEvent event)
Starts the search.
|
clearParams, getTabId, isSelected, onDeselection, onSelection, removeParam, setTabTextAccessorclaimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, unsinkEvents@UiField protected CmsPushButton m_clearButton
protected java.lang.String m_currentLocale
@UiField protected CmsDateBox m_dateCreatedEndDateBox
@UiField protected com.google.gwt.user.client.ui.Label m_dateCreatedEndLabel
@UiField protected CmsDateBox m_dateCreatedStartDateBox
@UiField protected com.google.gwt.user.client.ui.Label m_dateCreatedStartLabel
@UiField protected CmsDateBox m_dateModifiedEndDateBox
@UiField protected com.google.gwt.user.client.ui.Label m_dateModifiedEndLabel
@UiField protected CmsDateBox m_dateModifiedStartDateBox
@UiField protected com.google.gwt.user.client.ui.Label m_dateModifiedStartLabel
@UiField protected CmsCheckBox m_includeExpiredCheckBox
@UiField protected com.google.gwt.dom.client.DivElement m_includeExpiredRow
@UiField protected com.google.gwt.user.client.ui.Label m_localeLabel
@UiField protected com.google.gwt.user.client.ui.HTMLPanel m_localeRow
@UiField protected CmsSelectBox m_localeSelection
@UiField protected com.google.gwt.user.client.ui.Label m_scopeLabel
@UiField protected com.google.gwt.user.client.ui.HTMLPanel m_scopeRow
@UiField protected CmsSelectBox m_scopeSelection
@UiField protected CmsPushButton m_searchButton
@UiField protected CmsTextBox m_searchInput
@UiField protected com.google.gwt.user.client.ui.Label m_searchLabel
public CmsSearchTab(CmsSearchTabHandler tabHandler, I_CmsAutoHider autoHideParent, java.lang.String currentLocale, java.util.Map<java.lang.String,java.lang.String> availableLocales, CmsGallerySearchScope scope, CmsGallerySearchScope defaultScope)
tabHandler - the tab handlerautoHideParent - the auto-hide parent to this dialog if presentcurrentLocale - the current content localeavailableLocales - the available localesscope - the search scopedefaultScope - the default search scopepublic void clearInput()
public void enableExpiredResourcesSearch(boolean enable)
enable - true to enable the include expired resources form inputpublic java.util.List<CmsSearchParamPanel> getParamPanels(CmsGallerySearchBean searchObj)
A_CmsTabgetParamPanels 在类中 A_CmsTabsearchObj - the current search objectA_CmsTab.getParamPanels(org.opencms.ade.galleries.shared.CmsGallerySearchBean)public CmsSearchTabHandler getTabHandler()
A_CmsTabgetTabHandler 在类中 A_CmsTabA_CmsTab.getTabHandler()public void removeParameter(CmsSearchTab.ParamType type)
type - the parameter type@UiHandler(value="m_clearButton") protected void clearInput(com.google.gwt.event.dom.client.ClickEvent event)
event - the click event@UiHandler(value="m_dateCreatedEndDateBox") protected void onDateCreatedEndChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.util.Date> event)
event - the change event@UiHandler(value="m_dateCreatedStartDateBox") protected void onDateCreatedStartChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.util.Date> event)
event - the change event@UiHandler(value="m_dateModifiedEndDateBox") protected void onDateModifiedEndChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.util.Date> event)
event - the change event@UiHandler(value="m_dateModifiedStartDateBox") protected void onDateModifiedStartChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.util.Date> event)
event - the change event@UiHandler(value="m_includeExpiredCheckBox") protected void onIncludeExpiredChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.Boolean> event)
event - the change event@UiHandler(value="m_localeSelection") protected void onLocaleChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)
event - the change event@UiHandler(value="m_scopeSelection") protected void onScopeChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)
event - the change event@UiHandler(value="m_searchInput") protected void onSearchInputChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)
event - the change event@UiHandler(value="m_searchInput") protected void onSearchInputKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
event - the key press event@UiHandler(value="m_searchButton") protected void startSearch(com.google.gwt.event.dom.client.ClickEvent event)
event - the click event