C
- A common handler class implemented by its parent controller.public abstract class ModalViewWithUiHandlers<C extends com.gwtplatform.mvp.client.UiHandlers>
extends com.gwtplatform.mvp.client.ViewWithUiHandlers<C>
Modifier and Type | Field and Description |
---|---|
private com.google.web.bindery.event.shared.HandlerRegistration |
hideHandler
Registration handler associated with the attached hide modal dialog event handler
|
protected java.util.logging.Logger |
logger
Class logger
|
private com.google.web.bindery.event.shared.HandlerRegistration |
showHandler
Registration handler associated with the attached show modal dialog event handler
|
Constructor and Description |
---|
ModalViewWithUiHandlers() |
Modifier and Type | Method and Description |
---|---|
void |
addHideHandler(java.lang.Runnable command)
Add command executed at the moment this modal dialog gets ModalHideEvent.
|
void |
addShowHandler(java.lang.Runnable command)
Add command executed at the moment this modal dialog gets ModalShowEvent.
|
protected abstract org.gwtbootstrap3.client.ui.Modal |
getModal()
Provides an access to the target modal dialog.
|
getUiHandlers, setUiHandlers
protected java.util.logging.Logger logger
private com.google.web.bindery.event.shared.HandlerRegistration showHandler
private com.google.web.bindery.event.shared.HandlerRegistration hideHandler
protected abstract org.gwtbootstrap3.client.ui.Modal getModal()
public void addShowHandler(java.lang.Runnable command)
command
- Runnable to be executed by the attached modal show event handler.public void addHideHandler(java.lang.Runnable command)
command
- Runnable to be executed by the attached modal hide event handler.