|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jpattern.gwt.client.presenter.APresenter<T>
public abstract class APresenter<T extends IView>
| Constructor Summary | |
|---|---|
APresenter(IShowViewStrategy<T> showViewStrategy)
|
|
| Method Summary | |
|---|---|
void |
endLoading()
This method must be called when all the necessary operations to load necessary data are endend. |
protected T |
getView()
|
void |
onEventError(List<com.googlecode.jpattern.shared.result.IErrorMessage> errorMessages)
Called by the IEvent when the result of the execution is not valid |
void |
onEventStart()
Clear the error area before the execution of a new event |
abstract void |
postDisplay()
This method is called after the rendered of the IView. |
abstract void |
preDisplay()
This method is called before the rendered of the IView. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public APresenter(IShowViewStrategy<T> showViewStrategy)
| Method Detail |
|---|
public final void onEventError(List<com.googlecode.jpattern.shared.result.IErrorMessage> errorMessages)
IPresenter
onEventError in interface IPresenterpublic final void onEventStart()
IPresenter
onEventStart in interface IPresenterprotected final T getView()
public abstract void preDisplay()
public abstract void postDisplay()
public final void endLoading()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||