Class A_CmsListTab.A_SelectionHandler

java.lang.Object
org.opencms.ade.galleries.client.ui.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 Object implements com.google.gwt.event.dom.client.ClickHandler
Selection handler to handle check box click events and double clicks on the list items.
  • Constructor Details

  • Method Details

    • getSelectButton

      Returns the select button.

      Returns:
      the select button
    • 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
    • getCheckBox

      protected CmsCheckBox getCheckBox()
      Returns the check box.

      Returns:
      the check box
    • 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.