public abstract class CircuitPresenter<V extends com.gwtplatform.mvp.client.View,Proxy_ extends com.gwtplatform.mvp.client.proxy.Proxy<?>>
extends com.gwtplatform.mvp.client.Presenter<V,Proxy_>
PropagatesChange.Handler for a given store.
The handler delegates to onAction(org.jboss.gwt.circuit.Action) if the presenter is visible.
The registered handlers are removed again in onUnbind().| Modifier | Constructor and Description |
|---|---|
protected |
CircuitPresenter(boolean autoBind,
com.google.web.bindery.event.shared.EventBus eventBus,
V view,
Proxy_ proxy,
org.jboss.gwt.circuit.Dispatcher circuit) |
protected |
CircuitPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
V view,
Proxy_ proxy,
org.jboss.gwt.circuit.Dispatcher circuit) |
protected |
CircuitPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
V view,
Proxy_ proxy,
com.google.gwt.event.shared.GwtEvent.Type<com.gwtplatform.mvp.client.proxy.RevealContentHandler<?>> slot,
org.jboss.gwt.circuit.Dispatcher circuit) |
protected |
CircuitPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
V view,
Proxy_ proxy,
com.gwtplatform.mvp.client.Presenter.RevealType revealType,
org.jboss.gwt.circuit.Dispatcher circuit) |
protected |
CircuitPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
V view,
Proxy_ proxy,
com.gwtplatform.mvp.client.Presenter.RevealType revealType,
com.google.gwt.event.shared.GwtEvent.Type<com.gwtplatform.mvp.client.proxy.RevealContentHandler<?>> slot,
org.jboss.gwt.circuit.Dispatcher circuit) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChangeHandler(org.jboss.gwt.circuit.PropagatesChange propagatesChange) |
protected abstract void |
onAction(org.jboss.gwt.circuit.Action action)
When this method is called it's guaranteed that the presenter is visible.
|
protected void |
onError(org.jboss.gwt.circuit.Action action,
String reason)
When this method is called it's guaranteed that the presenter is visible.
|
protected void |
onError(org.jboss.gwt.circuit.Action action,
Throwable t)
When this method is called it's guaranteed that the presenter is visible.
|
protected void |
onUnbind() |
bind, forceReveal, getProxy, getRevealType, getSlot, prepareFromRequest, revealInParent, setRevealType, setSlot, unbind, useManualRevealaddHandler, addRegisteredHandler, addToPopupSlot, addToPopupSlot, addToSlot, addVisibleHandler, asWidget, clearSlot, fireEvent, getEventBus, getView, getWidget, isVisible, onHide, onReset, onReveal, removeFromPopupSlot, removeFromSlot, setInSlot, setInSlotprotected CircuitPresenter(boolean autoBind,
com.google.web.bindery.event.shared.EventBus eventBus,
V view,
Proxy_ proxy,
org.jboss.gwt.circuit.Dispatcher circuit)
protected CircuitPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
V view,
Proxy_ proxy,
org.jboss.gwt.circuit.Dispatcher circuit)
protected CircuitPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
V view,
Proxy_ proxy,
com.gwtplatform.mvp.client.Presenter.RevealType revealType,
org.jboss.gwt.circuit.Dispatcher circuit)
protected CircuitPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
V view,
Proxy_ proxy,
com.google.gwt.event.shared.GwtEvent.Type<com.gwtplatform.mvp.client.proxy.RevealContentHandler<?>> slot,
org.jboss.gwt.circuit.Dispatcher circuit)
protected CircuitPresenter(com.google.web.bindery.event.shared.EventBus eventBus,
V view,
Proxy_ proxy,
com.gwtplatform.mvp.client.Presenter.RevealType revealType,
com.google.gwt.event.shared.GwtEvent.Type<com.gwtplatform.mvp.client.proxy.RevealContentHandler<?>> slot,
org.jboss.gwt.circuit.Dispatcher circuit)
protected void addChangeHandler(org.jboss.gwt.circuit.PropagatesChange propagatesChange)
protected void onUnbind()
onUnbind in class com.gwtplatform.mvp.client.HandlerContainerImplprotected abstract void onAction(org.jboss.gwt.circuit.Action action)
protected void onError(org.jboss.gwt.circuit.Action action,
String reason)
protected void onError(org.jboss.gwt.circuit.Action action,
Throwable t)
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.