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
  • Constructor Details

    • CmsResultItemWidget

      public CmsResultItemWidget(org.opencms.ade.galleries.shared.CmsResultItemBean infoBean, boolean showPath)
      Constructor.

      Parameters:
      infoBean - the resource info bean
      showPath - true to show the resource path in sub title
  • Method Details

    • getImageTile

      Gets the image tile.

      Returns:
      the image tile
    • hasTileView

      public boolean hasTileView()
      Indicates wther there is a tile view available for this widget.

      Returns:
      true if a tiled view is available
    • setSubtitleTitle

      public void setSubtitleTitle(String subtitleTitle)
      Initializes the title attribute of the subtitle line.

      Parameters:
      subtitleTitle - the value to set
    • onDetach

      protected void onDetach()
      Overrides:
      onDetach in class com.google.gwt.user.client.ui.Composite
      See Also:
      • Composite.onDetach()