|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.app.util.PreferencesFactory
public class PreferencesFactory
The factory for preference component creation.
Constructor Summary | |
---|---|
PreferencesFactory()
|
Method Summary | |
---|---|
static PreferenceCategory |
addEvaluationPreferencesCategory(PreferenceActivity context,
PreferenceScreen root)
Does add the evaluation preferences category. |
static PreferenceScreen |
addFeatureCategories(PreferenceActivity context,
PreferenceScreen root,
boolean hideLocationFeatures,
PreferenceCategory categoryLocFeatures)
Does add the preferences categories for accelerometer and location features. |
static PreferenceCategory |
addFilterPreferencesCategory(PreferenceActivity context,
PreferenceCategory categoryPref)
Does create the filter category with the preferences for filter configuration. |
static PreferenceScreen |
addModelCreationPreferencesCategory(PreferenceActivity context,
PreferenceScreen root)
Does create the model creation and test parameter preferences category. |
static PreferenceCategory |
addRecordingPreferencesCategory(PreferenceActivity context,
PreferenceScreen root)
Does add the recording category with the preference for time configuration. |
protected static CheckBoxPreference |
createCheckBox(PreferenceActivity context,
FeatureTypes featureType)
Does create checkbox preferences for feature types |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreferencesFactory()
Method Detail |
---|
public static final PreferenceCategory addEvaluationPreferencesCategory(PreferenceActivity context, PreferenceScreen root)
context
- the activity contextroot
- the root screen
public static final PreferenceScreen addFeatureCategories(PreferenceActivity context, PreferenceScreen root, boolean hideLocationFeatures, PreferenceCategory categoryLocFeatures)
context
- the activity contextroot
- the root screenhideLocationFeatures
- flag if location features shall be hiddencategoryLocFeatures
- the category to add location feature screen to
protected static CheckBoxPreference createCheckBox(PreferenceActivity context, FeatureTypes featureType)
context
- the contextfeatureType
- the feature type
public static final PreferenceCategory addRecordingPreferencesCategory(PreferenceActivity context, PreferenceScreen root)
context
- the activity contextroot
- the root screen
public static final PreferenceCategory addFilterPreferencesCategory(PreferenceActivity context, PreferenceCategory categoryPref)
context
- the activity contextcategoryPref
- the category
public static PreferenceScreen addModelCreationPreferencesCategory(PreferenceActivity context, PreferenceScreen root)
context
- the activity contextroot
- the root screen
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |