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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CmsCheckBox
Returns the check box.Returns the select button.void
onClick
(com.google.gwt.event.dom.client.ClickEvent event) protected abstract void
Executed on selection change.protected void
This method is called if a list item is selected in a way such that the result tab should be displayed immediately.void
setSelectButton
(CmsPushButton button) Sets the select button, can be used instead of a double click to select and search.
-
Constructor Details
-
A_SelectionHandler
Constructor.- Parameters:
checkBox
- the item check box
-
-
Method Details
-
getSelectButton
Returns the select button.- Returns:
- the select button
-
onClick
- Specified by:
onClick
in interfacecom.google.gwt.event.dom.client.ClickHandler
- See Also:
-
ClickHandler.onClick(com.google.gwt.event.dom.client.ClickEvent)
-
setSelectButton
Sets the select button, can be used instead of a double click to select and search.- Parameters:
button
- the select button
-
getCheckBox
Returns the check box.- Returns:
- the check box
-
onSelectionChange
Executed on selection change. Either when the check box was clicked or on double click on a list item. -
selectBeforeGoingToResultTab
This method is called if a list item is selected in a way such that the result tab should be displayed immediately.
-