Interface ModalWindow.CloseButtonCallback
-
- All Superinterfaces:
IClusterable
,Serializable
- Enclosing class:
- ModalWindow
public static interface ModalWindow.CloseButtonCallback extends IClusterable
Callback for close button that contains a method that is invoked after the button has been clicked. If no callback instance is specified using
, no ajax request will be fired. Clicking the button will just close the window.ModalWindow.setCloseButtonCallback(ModalWindow.CloseButtonCallback)
- Author:
- Matej Knopp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
onCloseButtonClicked(AjaxRequestTarget target)
Methods invoked after the button has been clicked.
-
-
-
Method Detail
-
onCloseButtonClicked
boolean onCloseButtonClicked(AjaxRequestTarget target)
Methods invoked after the button has been clicked. The invocation is done using an ajax call, so
instance is available.AjaxRequestTarget
- Parameters:
target
-
instance bound with the ajax request.AjaxRequestTarget
- Returns:
- True if the window can be closed (will close the window), false otherwise
-
-