public abstract class EComponentWithViewSupportHolder extends EComponentHolder
Modifier and Type | Field and Description |
---|---|
protected com.sun.codemodel.JMethod |
findNativeFragmentById |
protected com.sun.codemodel.JMethod |
findNativeFragmentByTag |
protected com.sun.codemodel.JMethod |
findSupportFragmentById |
protected com.sun.codemodel.JMethod |
findSupportFragmentByTag |
protected ViewNotifierHelper |
viewNotifierHelper |
contextRef, init
annotatedClass, annotatedElement, codeModelHelper, generatedClass, processHolder
Constructor and Description |
---|
EComponentWithViewSupportHolder(ProcessHolder processHolder,
javax.lang.model.element.TypeElement annotatedElement) |
Modifier and Type | Method and Description |
---|---|
void |
assignFindViewById(com.sun.codemodel.JFieldRef idRef,
com.sun.codemodel.JClass viewClass,
com.sun.codemodel.JFieldRef fieldRef) |
protected FoundViewHolder |
createFoundViewAndIfNotNullBlock(com.sun.codemodel.JFieldRef idRef,
com.sun.codemodel.JClass viewClass) |
com.sun.codemodel.JInvocation |
findViewById(com.sun.codemodel.JFieldRef idRef) |
com.sun.codemodel.JMethod |
getFindNativeFragmentById() |
com.sun.codemodel.JMethod |
getFindNativeFragmentByTag() |
com.sun.codemodel.JMethod |
getFindSupportFragmentById() |
com.sun.codemodel.JMethod |
getFindSupportFragmentByTag() |
FoundViewHolder |
getFoundViewHolder(com.sun.codemodel.JFieldRef idRef,
com.sun.codemodel.JClass viewClass) |
OnSeekBarChangeListenerHolder |
getOnSeekBarChangeListenerHolder(com.sun.codemodel.JFieldRef idRef) |
com.sun.codemodel.JBlock |
getOnViewChangedBody() |
com.sun.codemodel.JBlock |
getOnViewChangedBodyBeforeFindViews() |
com.sun.codemodel.JVar |
getOnViewChangedHasViewsParam() |
TextWatcherHolder |
getTextWatcherHolder(com.sun.codemodel.JFieldRef idRef,
javax.lang.model.type.TypeMirror viewParameterType) |
protected void |
setFindNativeFragmentById() |
protected void |
setFindNativeFragmentByTag() |
protected void |
setFindSupportFragmentById() |
protected void |
setFindSupportFragmentByTag() |
protected void |
setOnViewChanged() |
getContextRef, getDatabaseHelperRef, getHandler, getInit, getInitBody, getPowerManagerRef, getResourcesRef, setContextRef, setInit
classes, codeModel, definedClass, getAnnotatedClass, getAnnotatedElement, getGeneratedClass, processingEnvironment, refClass, refClass, setExtends, setGeneratedClass
protected ViewNotifierHelper viewNotifierHelper
protected com.sun.codemodel.JMethod findNativeFragmentById
protected com.sun.codemodel.JMethod findSupportFragmentById
protected com.sun.codemodel.JMethod findNativeFragmentByTag
protected com.sun.codemodel.JMethod findSupportFragmentByTag
public EComponentWithViewSupportHolder(ProcessHolder processHolder, javax.lang.model.element.TypeElement annotatedElement) throws java.lang.Exception
java.lang.Exception
public com.sun.codemodel.JBlock getOnViewChangedBody()
public com.sun.codemodel.JBlock getOnViewChangedBodyBeforeFindViews()
public com.sun.codemodel.JVar getOnViewChangedHasViewsParam()
protected void setOnViewChanged()
public com.sun.codemodel.JInvocation findViewById(com.sun.codemodel.JFieldRef idRef)
public void assignFindViewById(com.sun.codemodel.JFieldRef idRef, com.sun.codemodel.JClass viewClass, com.sun.codemodel.JFieldRef fieldRef)
public FoundViewHolder getFoundViewHolder(com.sun.codemodel.JFieldRef idRef, com.sun.codemodel.JClass viewClass)
protected FoundViewHolder createFoundViewAndIfNotNullBlock(com.sun.codemodel.JFieldRef idRef, com.sun.codemodel.JClass viewClass)
public com.sun.codemodel.JMethod getFindNativeFragmentById()
protected void setFindNativeFragmentById()
public com.sun.codemodel.JMethod getFindSupportFragmentById()
protected void setFindSupportFragmentById()
public com.sun.codemodel.JMethod getFindNativeFragmentByTag()
protected void setFindNativeFragmentByTag()
public com.sun.codemodel.JMethod getFindSupportFragmentByTag()
protected void setFindSupportFragmentByTag()
public TextWatcherHolder getTextWatcherHolder(com.sun.codemodel.JFieldRef idRef, javax.lang.model.type.TypeMirror viewParameterType)
public OnSeekBarChangeListenerHolder getOnSeekBarChangeListenerHolder(com.sun.codemodel.JFieldRef idRef)
Copyright © 2010-2014. All Rights Reserved.