org.androidannotations.holder
Class EFragmentHolder

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.EFragmentHolder
All Implemented Interfaces:
GeneratedClassHolder, HasInstanceState, HasOnActivityResult, HasOptionsMenu

public class EFragmentHolder
extends EComponentWithViewSupportHolder
implements 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
EFragmentHolder(ProcessHolder processHolder, TypeElement annotatedElement)
           
 
Method Summary
 com.sun.codemodel.JFieldVar getBuilderArgsField()
           
 com.sun.codemodel.JDefinedClass getBuilderClass()
           
 com.sun.codemodel.JVar getContainer()
           
 com.sun.codemodel.JFieldVar getContentView()
           
 com.sun.codemodel.JVar getInflater()
           
 com.sun.codemodel.JBlock getInjectArgsBlock()
           
 com.sun.codemodel.JMethod getInjectArgsMethod()
           
 com.sun.codemodel.JVar getInjectBundleArgs()
           
 com.sun.codemodel.JBlock getOnActivityResultCaseBlock(int requestCode)
           
 com.sun.codemodel.JVar getOnActivityResultDataParam()
           
 com.sun.codemodel.JVar getOnActivityResultResultCodeParam()
           
 com.sun.codemodel.JVar getOnCreateOptionsMenuMenuInflaterVar()
           
 com.sun.codemodel.JVar getOnCreateOptionsMenuMenuParam()
           
 com.sun.codemodel.JBlock getOnCreateOptionsMenuMethodBody()
           
 com.sun.codemodel.JBlock getOnOptionsItemSelectedIfElseBlock()
           
 com.sun.codemodel.JVar getOnOptionsItemSelectedItem()
           
 com.sun.codemodel.JVar getOnOptionsItemSelectedItemId()
           
 com.sun.codemodel.JVar getRestoreStateBundleParam()
           
 com.sun.codemodel.JMethod getRestoreStateMethod()
           
 com.sun.codemodel.JVar getSaveStateBundleParam()
           
 com.sun.codemodel.JBlock getSaveStateMethodBody()
           
 com.sun.codemodel.JBlock getSetContentViewBlock()
           
protected  void setContextRef()
           
protected  void setInit()
           
 
Methods inherited from class org.androidannotations.holder.EComponentWithViewSupportHolder
findViewById, getFindNativeFragmentById, getFindNativeFragmentByTag, getFindSupportFragmentById, getFindSupportFragmentByTag, getOnSeekBarChangeListenerHolder, getOnViewChangedBody, getOnViewChangedHasViewsParam, getTextWatcherHolder, setFindNativeFragmentById, setFindNativeFragmentByTag, setFindSupportFragmentById, setFindSupportFragmentByTag, 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

EFragmentHolder

public EFragmentHolder(ProcessHolder processHolder,
                       TypeElement annotatedElement)
                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

getContentView

public com.sun.codemodel.JFieldVar getContentView()

getSetContentViewBlock

public com.sun.codemodel.JBlock getSetContentViewBlock()

getInflater

public com.sun.codemodel.JVar getInflater()

getContainer

public com.sun.codemodel.JVar getContainer()

getBuilderClass

public com.sun.codemodel.JDefinedClass getBuilderClass()

getBuilderArgsField

public com.sun.codemodel.JFieldVar getBuilderArgsField()

getInjectArgsMethod

public com.sun.codemodel.JMethod getInjectArgsMethod()

getInjectArgsBlock

public com.sun.codemodel.JBlock getInjectArgsBlock()

getInjectBundleArgs

public com.sun.codemodel.JVar getInjectBundleArgs()

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

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


Copyright © 2010-2014. All Rights Reserved.