org.androidannotations.holder
Class EActivityHolder
java.lang.Object
org.androidannotations.holder.BaseGeneratedClassHolder
org.androidannotations.holder.EComponentHolder
org.androidannotations.holder.EComponentWithViewSupportHolder
org.androidannotations.holder.EActivityHolder
- All Implemented Interfaces:
- GeneratedClassHolder, HasExtras, HasInstanceState, HasIntentBuilder, HasOnActivityResult, HasOptionsMenu
public class EActivityHolder
- extends EComponentWithViewSupportHolder
- implements HasIntentBuilder, HasExtras, HasInstanceState, HasOptionsMenu, HasOnActivityResult
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EActivityHolder
public EActivityHolder(ProcessHolder processHolder,
TypeElement annotatedElement,
AndroidManifest androidManifest)
throws Exception
- Throws:
Exception
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.