public class PanMultiSelectListPreference
extends android.preference.MultiSelectListPreference
Preference that displays a list of entries as
a dialog geared towards plugin developers.
This preference will store a set of strings into the SharedPreferences.
This set will contain one or more values from the
MultiSelectListPreference.setEntryValues(CharSequence[]) array.
This has been modified to allow for a pluginIcon attribute which will allow for icons
to be used in the entity.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
PanMultiSelectListPreference(android.content.Context context) |
PanMultiSelectListPreference(android.content.Context context,
android.util.AttributeSet attrs) |
PanMultiSelectListPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
PanMultiSelectListPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes) |
| Modifier and Type | Method and Description |
|---|---|
android.content.Context |
getContext() |
static void |
setContext(android.content.Context c) |
protected void |
showDialog(android.os.Bundle state)
Shows the dialog associated with this Preference.
|
findIndexOfValue, getEntries, getEntryValues, getValues, onDialogClosed, onGetDefaultValue, onPrepareDialogBuilder, onSaveInstanceState, onSetInitialValue, setEntries, setEntries, setEntryValues, setEntryValues, setValuesgetDialog, getDialogIcon, getDialogLayoutResource, getDialogMessage, getDialogTitle, getNegativeButtonText, getPositiveButtonText, onActivityDestroy, onBindDialogView, onClick, onClick, onCreateDialogView, onDismiss, onRestoreInstanceState, setDialogIcon, setDialogIcon, setDialogLayoutResource, setDialogMessage, setDialogMessage, setDialogTitle, setDialogTitle, setNegativeButtonText, setNegativeButtonText, setPositiveButtonText, setPositiveButtonTextcallChangeListener, compareTo, findPreferenceInHierarchy, getDependency, getEditor, getExtras, getFragment, getIcon, getIntent, getKey, getLayoutResource, getOnPreferenceChangeListener, getOnPreferenceClickListener, getOrder, getParent, getPersistedBoolean, getPersistedFloat, getPersistedInt, getPersistedLong, getPersistedString, getPersistedStringSet, getPreferenceDataStore, getPreferenceManager, getSharedPreferences, getShouldDisableView, getSummary, getTitle, getTitleRes, getView, getWidgetLayoutResource, hasKey, isEnabled, isIconSpaceReserved, isPersistent, isRecycleEnabled, isSelectable, isSingleLineTitle, notifyChanged, notifyDependencyChange, notifyHierarchyChanged, onAttachedToActivity, onAttachedToHierarchy, onBindView, onCreateView, onDependencyChanged, onParentChanged, onPrepareForRemoval, peekExtras, persistBoolean, persistFloat, persistInt, persistLong, persistString, persistStringSet, restoreHierarchyState, saveHierarchyState, setDefaultValue, setDependency, setEnabled, setFragment, setIcon, setIcon, setIconSpaceReserved, setIntent, setKey, setLayoutResource, setOnPreferenceChangeListener, setOnPreferenceClickListener, setOrder, setPersistent, setPreferenceDataStore, setRecycleEnabled, setSelectable, setShouldDisableView, setSingleLineTitle, setSummary, setSummary, setTitle, setTitle, setWidgetLayoutResource, shouldCommit, shouldDisableDependents, shouldPersist, toStringpublic static final java.lang.String TAG
public PanMultiSelectListPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr,
int defStyleRes)
public PanMultiSelectListPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
public PanMultiSelectListPreference(android.content.Context context,
android.util.AttributeSet attrs)
public PanMultiSelectListPreference(android.content.Context context)
public static void setContext(android.content.Context c)
public android.content.Context getContext()
getContext in class android.preference.Preferenceprotected void showDialog(android.os.Bundle state)
showDialog in class android.preference.DialogPreferencestate - Optional instance state to restore on the dialog