public class EditTextPreference extends DialogPreference
Preference.BaseSavedState, Preference.OnPreferenceChangeListener, Preference.OnPreferenceClickListenerDEFAULT_ORDER| Constructor and Description |
|---|
EditTextPreference(android.content.Context context) |
EditTextPreference(android.content.Context context,
android.util.AttributeSet attrs) |
EditTextPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle) |
| Modifier and Type | Method and Description |
|---|---|
EditText |
getEditText() |
java.lang.String |
getText() |
protected boolean |
needInputMethod() |
protected void |
onAddEditTextToDialogView(android.view.View dialogView,
EditText editText) |
protected void |
onBindDialogView(android.view.View view) |
protected void |
onDialogClosed(boolean positiveResult) |
protected java.lang.Object |
onGetDefaultValue(android.content.res.TypedArray a,
int index) |
protected void |
onRestoreInstanceState(android.os.Parcelable state) |
protected android.os.Parcelable |
onSaveInstanceState() |
protected void |
onSetInitialValue(boolean restoreValue,
java.lang.Object defaultValue) |
void |
setText(java.lang.String text) |
boolean |
shouldDisableDependents() |
getDialog, getDialogIcon, getDialogLayoutResource, getDialogMessage, getDialogTitle, getNegativeButtonText, getPositiveButtonText, onActivityDestroy, onClick, onClick, onCreateDialog, onCreateDialogView, onCreateDialogView, onDismiss, onPrepareDialogBuilder, setDialogIcon, setDialogIcon, setDialogLayoutResource, setDialogMessage, setDialogMessage, setDialogTitle, setDialogTitle, setNegativeButtonText, setNegativeButtonText, setPositiveButtonText, setPositiveButtonText, showDialogcallChangeListener, compareTo, findPreferenceInHierarchy, findPreferenceInHierarchy, getContext, getDependency, getDependencyId, getEditor, getExtras, getFragment, getIcon, getIntent, getKey, getLayoutResource, getOnPreferenceChangeListener, getOnPreferenceClickListener, getOrder, getPersistedBoolean, getPersistedFloat, getPersistedFloatSet, getPersistedInt, getPersistedIntSet, getPersistedJSONArray, getPersistedJSONObject, getPersistedLong, getPersistedLongSet, getPersistedString, getPersistedStringSet, getPreferenceManager, getResId, getSharedPreferences, getShouldDisableView, getSummary, getTitle, getTitleRes, getView, getWidgetLayoutResource, hasKey, isEnabled, isPersistent, isSelectable, notifyChanged, notifyDependencyChange, notifyHierarchyChanged, onAttachedToActivity, onAttachedToHierarchy, onBindView, onCreateView, onDependencyChanged, onKey, onPrepareForRemoval, peekExtras, persistBoolean, persistFloat, persistFloatSet, persistInt, persistIntSet, persistJSONArray, persistJSONObject, persistLong, persistLongSet, persistString, persistStringSet, restoreHierarchyState, saveHierarchyState, setDefaultValue, setDependency, setDependency, setEnabled, setFragment, setIcon, setIcon, setIntent, setKey, setLayoutResource, setOnPreferenceChangeListener, setOnPreferenceClickListener, setOrder, setPersistent, setResId, setSelectable, setShouldDisableView, setSummary, setSummary, setTitle, setTitle, setWidgetLayoutResource, shouldCommit, shouldPersist, toStringpublic EditTextPreference(android.content.Context context)
public EditTextPreference(android.content.Context context,
android.util.AttributeSet attrs)
public EditTextPreference(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle)
public EditText getEditText()
public java.lang.String getText()
protected boolean needInputMethod()
needInputMethod in class DialogPreferenceprotected void onAddEditTextToDialogView(android.view.View dialogView,
EditText editText)
protected void onBindDialogView(android.view.View view)
onBindDialogView in class DialogPreferenceprotected void onDialogClosed(boolean positiveResult)
onDialogClosed in class DialogPreferenceprotected java.lang.Object onGetDefaultValue(android.content.res.TypedArray a,
int index)
onGetDefaultValue in class Preferenceprotected void onRestoreInstanceState(android.os.Parcelable state)
onRestoreInstanceState in class DialogPreferenceprotected android.os.Parcelable onSaveInstanceState()
onSaveInstanceState in class DialogPreferenceprotected void onSetInitialValue(boolean restoreValue,
java.lang.Object defaultValue)
onSetInitialValue in class Preferencepublic void setText(java.lang.String text)
public boolean shouldDisableDependents()
shouldDisableDependents in class PreferenceCopyright © 2012-2013. All Rights Reserved.