BuildmLearn-Toolkit-Android  2.0.0
The Android version of the BuildmLearn Toolkit. BuildmLearn Toolkit is an easy-to-use program that helps the users make mobile apps without any knowledge of application development.
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.buildmlearn.toolkit.fragment.LoadProjectFragment Class Reference

Fragment used for loading existing projects into a list. More...

Inheritance diagram for org.buildmlearn.toolkit.fragment.LoadProjectFragment:
Inheritance graph
[legend]
Collaboration diagram for org.buildmlearn.toolkit.fragment.LoadProjectFragment:
Collaboration graph
[legend]

Public Member Functions

void onCreate (Bundle savedInstanceState)
 
View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
 
void onViewCreated (View view, Bundle savedInstanceState)
 
void onItemClick (AdapterView<?> parent, View view, int position, long id)
 
void onResume ()
 
void onCreateOptionsMenu (Menu menu, MenuInflater inflater)
 
boolean onOptionsItemSelected (MenuItem item)
 

Private Member Functions

void setAdapter (SavedProjectAdapter adapter)
 
void setEmptyText ()
 
void restoreColorScheme ()
 Restores the color scheme when switching from edit mode to normal mode. Edit mode is triggered, when the list item is long pressed. More...
 
void changeColorScheme ()
 Changes the color scheme when switching from normal mode to edit mode. Edit mode is triggered, when the list item is long pressed. More...
 
void deleteItem (int selectedPosition)
 Removes selected project item. More...
 
void restoreSelectedView ()
 Removes selected color from the selected ListView item when switching from edit mode to normal mode. More...
 

Private Attributes

AbsListView mListView
 
boolean showTemplateSelectedMenu
 
SavedProjectAdapter mAdapter
 
ToolkitApplication mToolkit
 
Activity activity
 
ArrayList< SavedProjectsavedProjects
 
View selectedView = null
 

Static Private Attributes

static final String TAG = "Load Project Fragment"
 

Detailed Description

Fragment used for loading existing projects into a list.

Member Function Documentation

void org.buildmlearn.toolkit.fragment.LoadProjectFragment.changeColorScheme ( )
private

Changes the color scheme when switching from normal mode to edit mode. Edit mode is triggered, when the list item is long pressed.

void org.buildmlearn.toolkit.fragment.LoadProjectFragment.deleteItem ( int  selectedPosition)
private

Removes selected project item.

void org.buildmlearn.toolkit.fragment.LoadProjectFragment.onCreate ( Bundle  savedInstanceState)
void org.buildmlearn.toolkit.fragment.LoadProjectFragment.onCreateOptionsMenu ( Menu  menu,
MenuInflater  inflater 
)
View org.buildmlearn.toolkit.fragment.LoadProjectFragment.onCreateView ( LayoutInflater  inflater,
ViewGroup  container,
Bundle  savedInstanceState 
)
void org.buildmlearn.toolkit.fragment.LoadProjectFragment.onItemClick ( AdapterView<?>  parent,
View  view,
int  position,
long  id 
)
boolean org.buildmlearn.toolkit.fragment.LoadProjectFragment.onOptionsItemSelected ( MenuItem  item)
void org.buildmlearn.toolkit.fragment.LoadProjectFragment.onResume ( )
void org.buildmlearn.toolkit.fragment.LoadProjectFragment.onViewCreated ( View  view,
Bundle  savedInstanceState 
)
void org.buildmlearn.toolkit.fragment.LoadProjectFragment.restoreColorScheme ( )
private

Restores the color scheme when switching from edit mode to normal mode. Edit mode is triggered, when the list item is long pressed.

void org.buildmlearn.toolkit.fragment.LoadProjectFragment.restoreSelectedView ( )
private

Removes selected color from the selected ListView item when switching from edit mode to normal mode.

void org.buildmlearn.toolkit.fragment.LoadProjectFragment.setAdapter ( SavedProjectAdapter  adapter)
private
void org.buildmlearn.toolkit.fragment.LoadProjectFragment.setEmptyText ( )
private

Member Data Documentation

Activity org.buildmlearn.toolkit.fragment.LoadProjectFragment.activity
private
SavedProjectAdapter org.buildmlearn.toolkit.fragment.LoadProjectFragment.mAdapter
private
AbsListView org.buildmlearn.toolkit.fragment.LoadProjectFragment.mListView
private
ToolkitApplication org.buildmlearn.toolkit.fragment.LoadProjectFragment.mToolkit
private
ArrayList<SavedProject> org.buildmlearn.toolkit.fragment.LoadProjectFragment.savedProjects
private
View org.buildmlearn.toolkit.fragment.LoadProjectFragment.selectedView = null
private
boolean org.buildmlearn.toolkit.fragment.LoadProjectFragment.showTemplateSelectedMenu
private
final String org.buildmlearn.toolkit.fragment.LoadProjectFragment.TAG = "Load Project Fragment"
staticprivate

The documentation for this class was generated from the following file: