Class CmsResultItemWidget
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.gwt.client.ui.CmsListItemWidget
org.opencms.ade.galleries.client.ui.CmsResultItemWidget
- All Implemented Interfaces:
com.google.gwt.event.dom.client.HasClickHandlers
,com.google.gwt.event.dom.client.HasDoubleClickHandlers
,com.google.gwt.event.dom.client.HasMouseOutHandlers
,com.google.gwt.event.dom.client.HasMouseOverHandlers
,com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.logical.shared.HasCloseHandlers<CmsListItemWidget>
,com.google.gwt.event.logical.shared.HasOpenHandlers<CmsListItemWidget>
,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
,I_CmsTruncable
The result list item widget.
Enabling the image tile view.
- Since:
- 8.0.0
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Widget containing the image(s) for a result list item..Nested classes/interfaces inherited from class org.opencms.gwt.client.ui.CmsListItemWidget
CmsListItemWidget.AdditionalInfoItem, CmsListItemWidget.Background, CmsListItemWidget.I_CmsListItemWidgetUiBinder, CmsListItemWidget.I_CmsTitleEditHandler
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
Fields inherited from class org.opencms.gwt.client.ui.CmsListItemWidget
m_additionalInfo, m_buttonPanel, m_contentPanel, m_iconClickHandlers, m_iconPanel, m_openClose, m_shortExtraInfoLabel, m_subtitle, m_title, m_titleBox, m_titleRow, OPENCLASS
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
ConstructorDescriptionCmsResultItemWidget
(org.opencms.ade.galleries.shared.CmsResultItemBean infoBean, boolean showPath) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the image tile.boolean
Indicates wther there is a tile view available for this widget.protected void
onDetach()
void
setSubtitleTitle
(String subtitleTitle) Initializes the title attribute of the subtitle line.Methods inherited from class org.opencms.gwt.client.ui.CmsListItemWidget
addAdditionalInfo, addButton, addButtonToFront, addClickHandler, addCloseHandler, addDoubleClickHandler, addIconClickHandler, addMouseOutHandler, addMouseOverHandler, addOpenHandler, addSubtitleStyleName, addTitleStyleName, clearIcon, editTitle, ensureOpenCloseAdditionalInfo, forceMouseOut, getButton, getButtonCount, getButtonPanel, getContentPanel, getInfoBean, getOpenClose, getShortExtraInfoLabel, getSubtitleLabel, getTitleLabel, getTitleWidget, hasAdditionalInfo, init, initAdditionalInfo, onEditTitleTextBox, reInitAdditionalInfo, removeButton, removeMouseHandlers, removeSubtitleStyleName, removeTitleStyleName, setAdditionalInfoValue, setAdditionalInfoVisible, setBackground, setExtraInfo, setIcon, setIcon, setIcon, setIconCursor, setIconTitle, setLockIcon, setStateIcon, setSubtitleLabel, setTitleEditable, setTitleEditHandler, setTitleLabel, setTopRightIcon, setUnselectable, truncate, truncateAdditionalInfo, updateTruncation
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
-
Constructor Details
-
Method Details
-
getImageTile
Gets the image tile.- Returns:
- the image tile
-
hasTileView
Indicates wther there is a tile view available for this widget.- Returns:
true
if a tiled view is available
-
setSubtitleTitle
Initializes the title attribute of the subtitle line.- Parameters:
subtitleTitle
- the value to set
-
onDetach
- Overrides:
onDetach
in classcom.google.gwt.user.client.ui.Composite
- See Also:
-
Composite.onDetach()
-