org.androidannotations.handler
Class TouchHandler

java.lang.Object
  extended by org.androidannotations.handler.BaseAnnotationHandler<EComponentWithViewSupportHolder>
      extended by org.androidannotations.handler.AbstractListenerHandler
          extended by org.androidannotations.handler.TouchHandler
All Implemented Interfaces:
AnnotationHandler<EComponentWithViewSupportHolder>

public class TouchHandler
extends AbstractListenerHandler


Field Summary
 
Fields inherited from class org.androidannotations.handler.BaseAnnotationHandler
androidManifest, androidSystemServices, processHolder, processingEnv, rClass, validatedModel, validatorHelper
 
Constructor Summary
TouchHandler(ProcessingEnvironment processingEnvironment)
           
 
Method Summary
protected  com.sun.codemodel.JMethod createListenerMethod(com.sun.codemodel.JDefinedClass listenerAnonymousClass)
           
protected  com.sun.codemodel.JClass getListenerClass()
           
protected  String getSetterName()
           
protected  void makeCall(com.sun.codemodel.JBlock listenerMethodBody, com.sun.codemodel.JInvocation call, TypeMirror returnType)
           
protected  void processParameters(com.sun.codemodel.JMethod listenerMethod, com.sun.codemodel.JInvocation call, List<? extends VariableElement> parameters)
           
 void validate(Element element, AnnotationElements validatedElements, IsValid valid)
           
 
Methods inherited from class org.androidannotations.handler.AbstractListenerHandler
getHolder, getMethodName, getViewClass, process, setAndroidEnvironment
 
Methods inherited from class org.androidannotations.handler.BaseAnnotationHandler
classes, codeModel, generateApiClass, getTarget, processingEnvironment, refClass, refClass, setProcessHolder, setValidatedModel, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TouchHandler

public TouchHandler(ProcessingEnvironment processingEnvironment)
Method Detail

validate

public void validate(Element element,
                     AnnotationElements validatedElements,
                     IsValid valid)
Overrides:
validate in class AbstractListenerHandler

makeCall

protected void makeCall(com.sun.codemodel.JBlock listenerMethodBody,
                        com.sun.codemodel.JInvocation call,
                        TypeMirror returnType)
Specified by:
makeCall in class AbstractListenerHandler

processParameters

protected void processParameters(com.sun.codemodel.JMethod listenerMethod,
                                 com.sun.codemodel.JInvocation call,
                                 List<? extends VariableElement> parameters)
Specified by:
processParameters in class AbstractListenerHandler

createListenerMethod

protected com.sun.codemodel.JMethod createListenerMethod(com.sun.codemodel.JDefinedClass listenerAnonymousClass)
Specified by:
createListenerMethod in class AbstractListenerHandler

getSetterName

protected String getSetterName()
Specified by:
getSetterName in class AbstractListenerHandler

getListenerClass

protected com.sun.codemodel.JClass getListenerClass()
Specified by:
getListenerClass in class AbstractListenerHandler


Copyright © 2010-2014. All Rights Reserved.