net.customware.gwt.presenter.client
Class DisplayCallback<T>

java.lang.Object
  extended by net.customware.gwt.presenter.client.DisplayCallback<T>
All Implemented Interfaces:
com.google.gwt.user.client.rpc.AsyncCallback<T>

public abstract class DisplayCallback<T>
extends java.lang.Object
implements com.google.gwt.user.client.rpc.AsyncCallback<T>


Constructor Summary
DisplayCallback(Display display)
           
 
Method Summary
protected abstract  void handleFailure(java.lang.Throwable e)
           
protected abstract  void handleSuccess(T value)
           
 void onFailure(java.lang.Throwable e)
           
 void onSuccess(T value)
           
protected  void reset(java.lang.Throwable e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayCallback

public DisplayCallback(Display display)
Method Detail

onSuccess

public void onSuccess(T value)
Specified by:
onSuccess in interface com.google.gwt.user.client.rpc.AsyncCallback<T>

handleSuccess

protected abstract void handleSuccess(T value)

onFailure

public void onFailure(java.lang.Throwable e)
Specified by:
onFailure in interface com.google.gwt.user.client.rpc.AsyncCallback<T>

handleFailure

protected abstract void handleFailure(java.lang.Throwable e)

reset

protected void reset(java.lang.Throwable e)


Copyright © 2009 customware.net. All Rights Reserved.