Android Mobile Physical Therapy Exercise Documenter

com.communipatient.amptedapp.ui
Class ExerciseDetailsFragment

java.lang.Object
  extended by android.support.v4.app.Fragment
      extended by com.communipatient.amptedapp.ui.ExerciseDetailsFragment
All Implemented Interfaces:
android.content.ComponentCallbacks, android.view.View.OnCreateContextMenuListener

public class ExerciseDetailsFragment
extends android.support.v4.app.Fragment

The fragment that displays the details for an exercise.


Nested Class Summary
 
Nested classes/interfaces inherited from class android.support.v4.app.Fragment
android.support.v4.app.Fragment.InstantiationException, android.support.v4.app.Fragment.SavedState
 
Field Summary
private  Exercise exercise
          The exercise.
 
Constructor Summary
ExerciseDetailsFragment()
           
 
Method Summary
 Exercise getExercise()
          Gets the exercise.
 int getShownIndex()
          Gets the index.
static ExerciseDetailsFragment newInstance(int index, Exercise exercise)
          Create a new instance of DetailsFragment, initialized to show the text at 'index'.
 android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
           
 
Methods inherited from class android.support.v4.app.Fragment
dump, equals, getActivity, getArguments, getFragmentManager, getId, getLayoutInflater, getLoaderManager, getResources, getRetainInstance, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isVisible, onActivityCreated, onActivityResult, onAttach, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimation, onCreateContextMenu, onCreateOptionsMenu, onDestroy, onDestroyOptionsMenu, onDestroyView, onDetach, onHiddenChanged, onInflate, onLowMemory, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onResume, onSaveInstanceState, onStart, onStop, onViewCreated, registerForContextMenu, setArguments, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setRetainInstance, setTargetFragment, startActivity, startActivityForResult, toString, unregisterForContextMenu
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

exercise

private Exercise exercise
The exercise.

Constructor Detail

ExerciseDetailsFragment

public ExerciseDetailsFragment()
Method Detail

newInstance

public static ExerciseDetailsFragment newInstance(int index,
                                                  Exercise exercise)
Create a new instance of DetailsFragment, initialized to show the text at 'index'.

Parameters:
index - The exercise index.
exercise - The exercise object.
Returns:
The fragment.

getShownIndex

public int getShownIndex()
Gets the index.

Returns:
The index.

getExercise

public Exercise getExercise()
Gets the exercise.

Returns:
The exercise.

onCreateView

public android.view.View onCreateView(android.view.LayoutInflater inflater,
                                      android.view.ViewGroup container,
                                      android.os.Bundle savedInstanceState)
Overrides:
onCreateView in class android.support.v4.app.Fragment

Revision: 109 Generated on Sat Dec 10 07:00:03 UTC 2011