Class A_CmsTab
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
- 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
- Direct Known Subclasses:
A_CmsListTab
,CmsSearchTab
A tab for the gallery dialog.
- Since:
- 8.0.0
-
Nested Class Summary
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
Modifier and TypeFieldDescriptionprotected com.google.gwt.user.client.ui.HasText
The tab text accessor.Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears the selected search parameters on this tab.abstract List<CmsSearchParamPanel>
getParamPanels
(org.opencms.ade.galleries.shared.CmsGallerySearchBean searchObj) Returns the search parameters to display within the result tab.abstract int
Returns the height required by this tab.protected abstract A_CmsTabHandler
Returns the tab handler.getTabId()
Returns the tab id.boolean
Returns if the tab is currently selected.void
Will be triggered when a tab is deselected.void
onResize()
Adjust content when outer dimensions are changed.void
Will be triggered when a tab is selected.void
removeParam
(String paramKey) Removes the parameter with the given key from the tab.void
setTabTextAccessor
(com.google.gwt.user.client.ui.HasText tabText) Sets the tab text accessor for this tab.Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
Methods 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, unsinkEvents
Methods 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_tabTextAccessor
The tab text accessor.
-
-
Constructor Details
-
A_CmsTab
Constructor.- Parameters:
tabId
- the tab id
-
-
Method Details
-
clearParams
Clears the selected search parameters on this tab. -
getRequiredHeight
Returns the height required by this tab.- Returns:
- the height
-
getTabId
Returns the tab id.- Returns:
- the tab id
-
isSelected
Returns if the tab is currently selected.- Returns:
true
if the tab is currently selected
-
onDeselection
Will be triggered when a tab is deselected. -
onResize
Adjust content when outer dimensions are changed. -
onSelection
Will be triggered when a tab is selected. -
removeParam
Removes the parameter with the given key from the tab.- Parameters:
paramKey
- the parameter key
-
setTabTextAccessor
Sets the tab text accessor for this tab.- Parameters:
tabText
- the tab text accessor
-
getTabHandler
Returns the tab handler.- Returns:
- the tab handler
-