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 | Public Attributes | Static Public Attributes | Private Attributes | List of all members
org.buildmlearn.toolkit.model.Section Enum Reference

Enum for navigation drawer menus. More...

Public Member Functions

 Section (Class<?extends Fragment > fragmentClass,@StringRes int titleResId,@DrawableRes int iconResId, boolean keep)
 
 Section (Class<?extends Activity > activityClass,@StringRes int titleResId,@DrawableRes int iconResId)
 
 Section ()
 
boolean isSelected ()
 
void setIsSelected (boolean isSelected)
 
int getTitleResId ()
 
int getIconResId ()
 
int getType ()
 
boolean isKeep ()
 
String getViewName ()
 

Public Attributes

 HOME =(HomeFragment.class, R.string.menu_home, R.drawable.menu_home, false)
 
 OPEN_PROJECT =(LoadProjectFragment.class, R.string.menu_load_project, R.drawable.menu_open, false)
 
 OPEN_APK =(LoadApkFragment.class, R.string.menu_load_apks, R.drawable.ic_android, false)
 
 DRAFTS =(DraftsFragment.class, R.string.menu_drafts, R.drawable.menu_drafts, false)
 
 DIVIDER =()
 
 SETTINGS =(SettingsFragment.class, R.string.menu_settings, R.drawable.menu_settings, false)
 
 HOW_TO =(TutorialActivity.class, R.string.menu_how_to, R.drawable.menu_how_to)
 
 ABOUT_US =(AboutBuildmLearn.class, R.string.menu_about_us, R.drawable.menu_info)
 

Static Public Attributes

staticfinal int ACTIVITY = 0
 
staticfinal int FRAGMENT = 1
 
staticfinal int SECTION_DIVIDER = 2
 

Private Attributes

final String viewName
 
final int titleResId
 
final int iconResId
 
final int type
 
final boolean keep
 
boolean isSelected
 

Detailed Description

Enum for navigation drawer menus.

Created by Abhishek on 08-05-2015.

Constructor & Destructor Documentation

org.buildmlearn.toolkit.model.Section.Section ( Class<?extends Fragment >  fragmentClass,
@StringRes int  titleResId,
@DrawableRes int  iconResId,
boolean  keep 
)
org.buildmlearn.toolkit.model.Section.Section ( Class<?extends Activity >  activityClass,
@StringRes int  titleResId,
@DrawableRes int  iconResId 
)
org.buildmlearn.toolkit.model.Section.Section ( )

Member Function Documentation

int org.buildmlearn.toolkit.model.Section.getIconResId ( )
int org.buildmlearn.toolkit.model.Section.getTitleResId ( )
int org.buildmlearn.toolkit.model.Section.getType ( )
String org.buildmlearn.toolkit.model.Section.getViewName ( )
boolean org.buildmlearn.toolkit.model.Section.isKeep ( )
boolean org.buildmlearn.toolkit.model.Section.isSelected ( )
void org.buildmlearn.toolkit.model.Section.setIsSelected ( boolean  isSelected)

Member Data Documentation

org.buildmlearn.toolkit.model.Section.ABOUT_US =(AboutBuildmLearn.class, R.string.menu_about_us, R.drawable.menu_info)
static final int org.buildmlearn.toolkit.model.Section.ACTIVITY = 0
static
org.buildmlearn.toolkit.model.Section.DIVIDER =()
org.buildmlearn.toolkit.model.Section.DRAFTS =(DraftsFragment.class, R.string.menu_drafts, R.drawable.menu_drafts, false)
static final int org.buildmlearn.toolkit.model.Section.FRAGMENT = 1
static
org.buildmlearn.toolkit.model.Section.HOME =(HomeFragment.class, R.string.menu_home, R.drawable.menu_home, false)
org.buildmlearn.toolkit.model.Section.HOW_TO =(TutorialActivity.class, R.string.menu_how_to, R.drawable.menu_how_to)
final int org.buildmlearn.toolkit.model.Section.iconResId
private
boolean org.buildmlearn.toolkit.model.Section.isSelected
private
final boolean org.buildmlearn.toolkit.model.Section.keep
private
org.buildmlearn.toolkit.model.Section.OPEN_APK =(LoadApkFragment.class, R.string.menu_load_apks, R.drawable.ic_android, false)
org.buildmlearn.toolkit.model.Section.OPEN_PROJECT =(LoadProjectFragment.class, R.string.menu_load_project, R.drawable.menu_open, false)
static final int org.buildmlearn.toolkit.model.Section.SECTION_DIVIDER = 2
static
org.buildmlearn.toolkit.model.Section.SETTINGS =(SettingsFragment.class, R.string.menu_settings, R.drawable.menu_settings, false)
final int org.buildmlearn.toolkit.model.Section.titleResId
private
final int org.buildmlearn.toolkit.model.Section.type
private
final String org.buildmlearn.toolkit.model.Section.viewName
private

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