public class ProxyEventMethod extends Object
| Constructor and Description |
|---|
ProxyEventMethod(TreeLogger logger,
ClassCollection classCollection,
PresenterInspector presenterInspector) |
| Modifier and Type | Method and Description |
|---|---|
void |
addImplementedInterface(com.google.gwt.user.rebind.ClassSourceFileComposerFactory composerFactory)
Ensures the class being built by the
ClassSourceFileComposerFactory implements the
interface required to handle this event. |
void |
ensureNoClashWith(ProxyEventMethod previousMethod)
Ensures that this method does not clash with the one passed as parameters.
|
void |
init(JMethod method) |
void |
writeAddHandler(com.google.gwt.user.rebind.SourceWriter writer)
Writes the call required to ensure the proxy handles this event.
|
void |
writeHandlerMethod(com.google.gwt.user.rebind.SourceWriter writer)
Writes the definition of the method responsible of handling this event.
|
public ProxyEventMethod(TreeLogger logger, ClassCollection classCollection, PresenterInspector presenterInspector)
public void init(JMethod method) throws UnableToCompleteException
UnableToCompleteExceptionpublic void ensureNoClashWith(ProxyEventMethod previousMethod) throws UnableToCompleteException
UnableToCompleteException if a clash occurs.previousMethod - The method to check against.UnableToCompleteException - If a clash is observed.public void addImplementedInterface(com.google.gwt.user.rebind.ClassSourceFileComposerFactory composerFactory)
ClassSourceFileComposerFactory implements the
interface required to handle this event.composerFactory - The composer factory.public void writeAddHandler(com.google.gwt.user.rebind.SourceWriter writer)
writer - The SourceWriter.public void writeHandlerMethod(com.google.gwt.user.rebind.SourceWriter writer)
writer - The SourceWriter.Copyright © 2010–2014 Arcbees. All rights reserved.