Class A_CmsListTab.A_SelectionHandler

  • All Implemented Interfaces:
    com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.shared.EventHandler
    Enclosing class:
    A_CmsListTab

    protected abstract class A_CmsListTab.A_SelectionHandler
    extends java.lang.Object
    implements com.google.gwt.event.dom.client.ClickHandler
    Selection handler to handle check box click events and double clicks on the list items.
    • Method Detail

      • onClick

        public void onClick​(com.google.gwt.event.dom.client.ClickEvent event)
        Specified by:
        onClick in interface com.google.gwt.event.dom.client.ClickHandler
        See Also:
        ClickHandler.onClick(com.google.gwt.event.dom.client.ClickEvent)
      • setSelectButton

        public void setSelectButton​(CmsPushButton button)
        Sets the select button, can be used instead of a double click to select and search.

        Parameters:
        button - the select button
      • onSelectionChange

        protected abstract void onSelectionChange()
        Executed on selection change. Either when the check box was clicked or on double click on a list item.

      • selectBeforeGoingToResultTab

        protected void selectBeforeGoingToResultTab()
        This method is called if a list item is selected in a way such that the result tab should be displayed immediately.