com.googlecode.jpattern.gwt.client.event
Class AEvent<T>

java.lang.Object
  extended by com.googlecode.jpattern.gwt.client.event.AEvent<T>
All Implemented Interfaces:
ICommandCallBack, IEvent<T>

public abstract class AEvent<T>
extends Object
implements IEvent<T>, ICommandCallBack

Author:
Francesco Cina' 14 Apr 2011

Constructor Summary
AEvent(IPresenter presenter)
           
 
Method Summary
protected abstract  IEventResult<T> afertExec(com.googlecode.jpattern.shared.result.IResult webResult)
           
 void callback(com.googlecode.jpattern.shared.result.IResult commandResult)
           
protected abstract  ACommand exec()
           
protected  IApplicationProvider getProvider()
           
 void launch(IEventCallback<T> eventCallback)
           
 void setProvider(IApplicationProvider provider)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AEvent

public AEvent(IPresenter presenter)
Method Detail

launch

public final void launch(IEventCallback<T> eventCallback)
Specified by:
launch in interface IEvent<T>

callback

public final void callback(com.googlecode.jpattern.shared.result.IResult commandResult)
Specified by:
callback in interface ICommandCallBack

exec

protected abstract ACommand exec()

afertExec

protected abstract IEventResult<T> afertExec(com.googlecode.jpattern.shared.result.IResult webResult)

setProvider

public void setProvider(IApplicationProvider provider)

getProvider

protected IApplicationProvider getProvider()


Copyright © 2011. All Rights Reserved.