Class CmsSearchParamPanel

  • 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

    public class CmsSearchParamPanel
    extends com.google.gwt.user.client.ui.Composite
    A panel displaying search parameters associated with a gallery tab.

    Used in the result tab to display and remove these parameters.

    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

      Fields 
      Modifier and Type Field Description
      protected CmsPushButton m_button
      The button to remove the parameters.
      protected com.google.gwt.user.client.ui.HTML m_text
      The HTML widget to hold the parameters content.
      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void onClick​(com.google.gwt.event.dom.client.ClickEvent event)
      Calls to the result tab to remove parameters.
      void setContent​(java.lang.String content, java.lang.String paramKey)
      Sets the text content of the parameters panel.
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • m_text

        @UiField
        protected com.google.gwt.user.client.ui.HTML m_text
        The HTML widget to hold the parameters content.
    • Constructor Detail

      • CmsSearchParamPanel

        public CmsSearchParamPanel​(java.lang.String title,
                                   A_CmsTab tab)
        Constructor.

        Parameters:
        title - the parameters title
        tab - the tab
    • Method Detail

      • setContent

        public void setContent​(java.lang.String content,
                               java.lang.String paramKey)
        Sets the text content of the parameters panel.

        Parameters:
        content - the content
        paramKey - the parameter key
      • onClick

        @UiHandler("m_button")
        protected void onClick​(com.google.gwt.event.dom.client.ClickEvent event)
        Calls to the result tab to remove parameters. Executed on button click.

        Parameters:
        event - the click event