org.androidannotations.holder
Class EActivityHolder

java.lang.Object
  extended by org.androidannotations.holder.BaseGeneratedClassHolder
      extended by org.androidannotations.holder.EComponentHolder
          extended by org.androidannotations.holder.EComponentWithViewSupportHolder
              extended by org.androidannotations.holder.EActivityHolder
All Implemented Interfaces:
GeneratedClassHolder, HasExtras, HasInstanceState, HasIntentBuilder, HasOnActivityResult, HasOptionsMenu

public class EActivityHolder
extends EComponentWithViewSupportHolder
implements HasIntentBuilder, HasExtras, HasInstanceState, HasOptionsMenu, HasOnActivityResult


Field Summary
 
Fields inherited from class org.androidannotations.holder.EComponentWithViewSupportHolder
findNativeFragmentById, findNativeFragmentByTag, findSupportFragmentById, findSupportFragmentByTag, viewNotifierHelper
 
Fields inherited from class org.androidannotations.holder.EComponentHolder
contextRef, init
 
Fields inherited from class org.androidannotations.holder.BaseGeneratedClassHolder
annotatedElement, codeModelHelper, generatedClass, processHolder
 
Constructor Summary
EActivityHolder(ProcessHolder processHolder, TypeElement annotatedElement, AndroidManifest androidManifest)
           
 
Method Summary
 com.sun.codemodel.JMethod getGetLastNonConfigurationInstance()
           
 com.sun.codemodel.JBlock getInitIfNonConfigurationNotNullBlock()
           
 com.sun.codemodel.JVar getInitNonConfigurationInstance()
           
 com.sun.codemodel.JVar getInitSavedInstanceParam()
           
 com.sun.codemodel.JVar getInjectExtras()
           
 com.sun.codemodel.JBlock getInjectExtrasBlock()
           
 com.sun.codemodel.JMethod getInjectExtrasMethod()
           
 IntentBuilder getIntentBuilder()
           
 com.sun.codemodel.JDefinedClass getIntentBuilderClass()
           
 com.sun.codemodel.JFieldVar getIntentField()
           
 NonConfigurationHolder getNonConfigurationHolder()
           
 com.sun.codemodel.JBlock getOnActivityResultAfterSuperBlock()
           
 com.sun.codemodel.JBlock getOnActivityResultCaseBlock(int requestCode)
           
 com.sun.codemodel.JVar getOnActivityResultDataParam()
           
 com.sun.codemodel.JVar getOnActivityResultRequestCodeParam()
           
 com.sun.codemodel.JVar getOnActivityResultResultCodeParam()
           
 com.sun.codemodel.JMethod getOnCreate()
           
 com.sun.codemodel.JVar getOnCreateOptionsMenuMenuInflaterVar()
           
 com.sun.codemodel.JVar getOnCreateOptionsMenuMenuParam()
           
 com.sun.codemodel.JBlock getOnCreateOptionsMenuMethodBody()
           
 com.sun.codemodel.JBlock getOnDestroyAfterSuperBlock()
           
 com.sun.codemodel.JBlock getOnOptionsItemSelectedIfElseBlock()
           
 com.sun.codemodel.JVar getOnOptionsItemSelectedItem()
           
 com.sun.codemodel.JVar getOnOptionsItemSelectedItemId()
           
 com.sun.codemodel.JBlock getOnResumeAfterSuperBlock()
           
 com.sun.codemodel.JVar getOnRetainNonConfigurationInstance()
           
 com.sun.codemodel.JBlock getOnRetainNonConfigurationInstanceBindBlock()
           
 com.sun.codemodel.JVar getRestoreStateBundleParam()
           
 com.sun.codemodel.JMethod getRestoreStateMethod()
           
 RoboGuiceHolder getRoboGuiceHolder()
           
 com.sun.codemodel.JVar getSaveStateBundleParam()
           
 com.sun.codemodel.JBlock getSaveStateMethodBody()
           
 com.sun.codemodel.JMethod getSetContentViewLayout()
           
 com.sun.codemodel.JMethod getSetIntent()
           
protected  void setContextRef()
           
protected  void setEventManagerField()
           
protected  void setFindNativeFragmentById()
           
protected  void setFindNativeFragmentByTag()
           
protected  void setFindSupportFragmentById()
           
protected  void setFindSupportFragmentByTag()
           
 void setGetInjector()
           
protected  void setInit()
           
 void setIntentBuilderClass(com.sun.codemodel.JDefinedClass intentBuilderClass)
           
 void setIntentField(com.sun.codemodel.JFieldVar intentField)
           
protected  void setOnConfigurationChanged()
           
protected  void setOnContentChanged()
           
protected  void setOnCreate()
           
protected  void setOnDestroy()
           
protected  void setOnNewIntent()
           
protected  void setOnPause()
           
protected  void setOnRestart()
           
protected  void setOnResume()
           
protected  void setOnStart()
           
protected  void setOnStop()
           
protected  void setScopeField()
           
 
Methods inherited from class org.androidannotations.holder.EComponentWithViewSupportHolder
findViewById, getFindNativeFragmentById, getFindNativeFragmentByTag, getFindSupportFragmentById, getFindSupportFragmentByTag, getOnSeekBarChangeListenerHolder, getOnViewChangedBody, getOnViewChangedHasViewsParam, getTextWatcherHolder, setOnViewChanged
 
Methods inherited from class org.androidannotations.holder.EComponentHolder
getContextRef, getDatabaseHelperRef, getHandler, getInit, getInitBody, getResourcesRef
 
Methods inherited from class org.androidannotations.holder.BaseGeneratedClassHolder
classes, codeModel, definedClass, getAnnotatedElement, getGeneratedClass, processingEnvironment, refClass, refClass, setGeneratedClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.androidannotations.holder.GeneratedClassHolder
classes, codeModel, definedClass, getAnnotatedElement, getGeneratedClass, processingEnvironment, refClass, refClass
 

Constructor Detail

EActivityHolder

public EActivityHolder(ProcessHolder processHolder,
                       TypeElement annotatedElement,
                       AndroidManifest androidManifest)
                throws Exception
Throws:
Exception
Method Detail

setContextRef

protected void setContextRef()
Specified by:
setContextRef in class EComponentHolder

setInit

protected void setInit()
Specified by:
setInit in class EComponentHolder

getOnCreate

public com.sun.codemodel.JMethod getOnCreate()

getSetIntent

public com.sun.codemodel.JMethod getSetIntent()

setOnCreate

protected void setOnCreate()

setOnStart

protected void setOnStart()

setOnRestart

protected void setOnRestart()

setOnResume

protected void setOnResume()

setOnPause

protected void setOnPause()

setOnNewIntent

protected void setOnNewIntent()

setOnStop

protected void setOnStop()

setOnDestroy

protected void setOnDestroy()

setOnConfigurationChanged

protected void setOnConfigurationChanged()

setOnContentChanged

protected void setOnContentChanged()

setFindNativeFragmentById

protected void setFindNativeFragmentById()
Overrides:
setFindNativeFragmentById in class EComponentWithViewSupportHolder

setFindSupportFragmentById

protected void setFindSupportFragmentById()
Overrides:
setFindSupportFragmentById in class EComponentWithViewSupportHolder

setFindNativeFragmentByTag

protected void setFindNativeFragmentByTag()
Overrides:
setFindNativeFragmentByTag in class EComponentWithViewSupportHolder

setFindSupportFragmentByTag

protected void setFindSupportFragmentByTag()
Overrides:
setFindSupportFragmentByTag in class EComponentWithViewSupportHolder

getSetContentViewLayout

public com.sun.codemodel.JMethod getSetContentViewLayout()

getInitSavedInstanceParam

public com.sun.codemodel.JVar getInitSavedInstanceParam()

getIntentBuilder

public IntentBuilder getIntentBuilder()
Specified by:
getIntentBuilder in interface HasIntentBuilder

setIntentBuilderClass

public void setIntentBuilderClass(com.sun.codemodel.JDefinedClass intentBuilderClass)
Specified by:
setIntentBuilderClass in interface HasIntentBuilder

getIntentBuilderClass

public com.sun.codemodel.JDefinedClass getIntentBuilderClass()
Specified by:
getIntentBuilderClass in interface HasIntentBuilder

setIntentField

public void setIntentField(com.sun.codemodel.JFieldVar intentField)
Specified by:
setIntentField in interface HasIntentBuilder

getIntentField

public com.sun.codemodel.JFieldVar getIntentField()
Specified by:
getIntentField in interface HasIntentBuilder

getRoboGuiceHolder

public RoboGuiceHolder getRoboGuiceHolder()

setScopeField

protected void setScopeField()

setEventManagerField

protected void setEventManagerField()

setGetInjector

public void setGetInjector()

getInjectExtrasMethod

public com.sun.codemodel.JMethod getInjectExtrasMethod()
Specified by:
getInjectExtrasMethod in interface HasExtras

getInjectExtrasBlock

public com.sun.codemodel.JBlock getInjectExtrasBlock()
Specified by:
getInjectExtrasBlock in interface HasExtras

getInjectExtras

public com.sun.codemodel.JVar getInjectExtras()
Specified by:
getInjectExtras in interface HasExtras

getSaveStateMethodBody

public com.sun.codemodel.JBlock getSaveStateMethodBody()
Specified by:
getSaveStateMethodBody in interface HasInstanceState

getSaveStateBundleParam

public com.sun.codemodel.JVar getSaveStateBundleParam()
Specified by:
getSaveStateBundleParam in interface HasInstanceState

getRestoreStateMethod

public com.sun.codemodel.JMethod getRestoreStateMethod()
Specified by:
getRestoreStateMethod in interface HasInstanceState

getRestoreStateBundleParam

public com.sun.codemodel.JVar getRestoreStateBundleParam()
Specified by:
getRestoreStateBundleParam in interface HasInstanceState

getOnCreateOptionsMenuMethodBody

public com.sun.codemodel.JBlock getOnCreateOptionsMenuMethodBody()
Specified by:
getOnCreateOptionsMenuMethodBody in interface HasOptionsMenu

getOnCreateOptionsMenuMenuInflaterVar

public com.sun.codemodel.JVar getOnCreateOptionsMenuMenuInflaterVar()
Specified by:
getOnCreateOptionsMenuMenuInflaterVar in interface HasOptionsMenu

getOnCreateOptionsMenuMenuParam

public com.sun.codemodel.JVar getOnCreateOptionsMenuMenuParam()
Specified by:
getOnCreateOptionsMenuMenuParam in interface HasOptionsMenu

getOnOptionsItemSelectedItem

public com.sun.codemodel.JVar getOnOptionsItemSelectedItem()
Specified by:
getOnOptionsItemSelectedItem in interface HasOptionsMenu

getOnOptionsItemSelectedItemId

public com.sun.codemodel.JVar getOnOptionsItemSelectedItemId()
Specified by:
getOnOptionsItemSelectedItemId in interface HasOptionsMenu

getOnOptionsItemSelectedIfElseBlock

public com.sun.codemodel.JBlock getOnOptionsItemSelectedIfElseBlock()
Specified by:
getOnOptionsItemSelectedIfElseBlock in interface HasOptionsMenu

getNonConfigurationHolder

public NonConfigurationHolder getNonConfigurationHolder()
                                                 throws com.sun.codemodel.JClassAlreadyExistsException
Throws:
com.sun.codemodel.JClassAlreadyExistsException

getInitIfNonConfigurationNotNullBlock

public com.sun.codemodel.JBlock getInitIfNonConfigurationNotNullBlock()
                                                               throws com.sun.codemodel.JClassAlreadyExistsException
Throws:
com.sun.codemodel.JClassAlreadyExistsException

getInitNonConfigurationInstance

public com.sun.codemodel.JVar getInitNonConfigurationInstance()
                                                       throws com.sun.codemodel.JClassAlreadyExistsException
Throws:
com.sun.codemodel.JClassAlreadyExistsException

getGetLastNonConfigurationInstance

public com.sun.codemodel.JMethod getGetLastNonConfigurationInstance()
                                                             throws com.sun.codemodel.JClassAlreadyExistsException
Throws:
com.sun.codemodel.JClassAlreadyExistsException

getOnRetainNonConfigurationInstanceBindBlock

public com.sun.codemodel.JBlock getOnRetainNonConfigurationInstanceBindBlock()
                                                                      throws com.sun.codemodel.JClassAlreadyExistsException
Throws:
com.sun.codemodel.JClassAlreadyExistsException

getOnRetainNonConfigurationInstance

public com.sun.codemodel.JVar getOnRetainNonConfigurationInstance()
                                                           throws com.sun.codemodel.JClassAlreadyExistsException
Throws:
com.sun.codemodel.JClassAlreadyExistsException

getOnActivityResultCaseBlock

public com.sun.codemodel.JBlock getOnActivityResultCaseBlock(int requestCode)
Specified by:
getOnActivityResultCaseBlock in interface HasOnActivityResult

getOnActivityResultDataParam

public com.sun.codemodel.JVar getOnActivityResultDataParam()
Specified by:
getOnActivityResultDataParam in interface HasOnActivityResult

getOnActivityResultResultCodeParam

public com.sun.codemodel.JVar getOnActivityResultResultCodeParam()
Specified by:
getOnActivityResultResultCodeParam in interface HasOnActivityResult

getOnActivityResultAfterSuperBlock

public com.sun.codemodel.JBlock getOnActivityResultAfterSuperBlock()

getOnActivityResultRequestCodeParam

public com.sun.codemodel.JVar getOnActivityResultRequestCodeParam()

getOnDestroyAfterSuperBlock

public com.sun.codemodel.JBlock getOnDestroyAfterSuperBlock()

getOnResumeAfterSuperBlock

public com.sun.codemodel.JBlock getOnResumeAfterSuperBlock()


Copyright © 2010-2014. All Rights Reserved.