Class

tk.mygod.preference

DropDownPreference

Related Doc: package preference

Permalink

final class DropDownPreference extends Preference with SummaryPreference

Based on: https://github.com/android/platform_frameworks_base/blob/master/core/java/android/preference/ListPreference.java https://github.com/android/platform_packages_apps_settings/blob/master/src/com/android/settings/notification/DropDownPreference.java

Linear Supertypes
SummaryPreference, Preference, Comparable[Preference], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DropDownPreference
  2. SummaryPreference
  3. Preference
  4. Comparable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DropDownPreference(mContext: Context, attrs: AttributeSet = null)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val a: TypedArray

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def callChangeListener(arg0: Any): Boolean

    Permalink
    Definition Classes
    Preference
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def compareTo(arg0: Preference): Int

    Permalink
    Definition Classes
    Preference → Comparable
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def findIndexOfValue(value: String): Int

    Permalink

    Returns the index of the given value (in the entry values array).

    Returns the index of the given value (in the entry values array).

    value

    The value whose index should be returned.

    returns

    The index of the value, or -1 if not found.

  13. def findPreferenceInHierarchy(arg0: String): Preference

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getContext(): Context

    Permalink
    Definition Classes
    Preference
  16. def getDependency(): String

    Permalink
    Definition Classes
    Preference
  17. def getEntries: Array[CharSequence]

    Permalink

    The list of entries to be shown in the list in subsequent dialogs.

    The list of entries to be shown in the list in subsequent dialogs.

    returns

    The list as an array.

  18. def getEntry: CharSequence

    Permalink

    Returns the entry corresponding to the current value.

    Returns the entry corresponding to the current value.

    returns

    The entry corresponding to the current value, or null.

  19. def getEntryValues: Array[CharSequence]

    Permalink

    Returns the array of values to be saved for the preference.

    Returns the array of values to be saved for the preference.

    returns

    The array of values.

  20. def getExtras(): Bundle

    Permalink
    Definition Classes
    Preference
  21. def getFragment(): String

    Permalink
    Definition Classes
    Preference
  22. def getIcon(): Drawable

    Permalink
    Definition Classes
    Preference
  23. def getIntent(): Intent

    Permalink
    Definition Classes
    Preference
  24. def getKey(): String

    Permalink
    Definition Classes
    Preference
  25. final def getLayoutResource(): Int

    Permalink
    Definition Classes
    Preference
  26. def getOnPreferenceChangeListener(): OnPreferenceChangeListener

    Permalink
    Definition Classes
    Preference
  27. def getOnPreferenceClickListener(): OnPreferenceClickListener

    Permalink
    Definition Classes
    Preference
  28. def getOrder(): Int

    Permalink
    Definition Classes
    Preference
  29. def getPersistedBoolean(arg0: Boolean): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  30. def getPersistedFloat(arg0: Float): Float

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  31. def getPersistedInt(arg0: Int): Int

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  32. def getPersistedLong(arg0: Long): Long

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  33. def getPersistedString(arg0: String): String

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  34. def getPreferenceManager(): PreferenceManager

    Permalink
    Definition Classes
    Preference
  35. def getSharedPreferences(): SharedPreferences

    Permalink
    Definition Classes
    Preference
  36. def getShouldDisableView(): Boolean

    Permalink
    Definition Classes
    Preference
  37. def getSummary(): CharSequence

    Permalink

    Returns the summary of this SummaryPreference.

    Returns the summary of this SummaryPreference. If the summary has a String formatting marker in it (i.e. "%s" or "%1$s"), then the current entry value will be substituted in its place.

    returns

    the summary with appropriate string substitution

    Definition Classes
    SummaryPreference → Preference
  38. def getSummaryValue: CharSequence

    Permalink
    Attributes
    protected
    Definition Classes
    DropDownPreferenceSummaryPreference
  39. def getTitle(): CharSequence

    Permalink
    Definition Classes
    Preference
  40. def getValue: String

    Permalink

    Returns the value of the key.

    Returns the value of the key. This should be one of the entries in getEntryValues.

    returns

    The value of the key.

  41. def getValueIndex: Int

    Permalink
  42. final def getWidgetLayoutResource(): Int

    Permalink
    Definition Classes
    Preference
  43. def hasKey(): Boolean

    Permalink
    Definition Classes
    Preference
  44. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  45. def isEnabled(): Boolean

    Permalink
    Definition Classes
    Preference
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. def isPersistent(): Boolean

    Permalink
    Definition Classes
    Preference
  48. def isSelectable(): Boolean

    Permalink
    Definition Classes
    Preference
  49. final def isVisible(): Boolean

    Permalink
    Definition Classes
    Preference
  50. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  51. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  52. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  53. def notifyChanged(): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  54. def notifyDependencyChange(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  55. def notifyHierarchyChanged(): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  56. def onAttached(): Unit

    Permalink
    Definition Classes
    Preference
  57. def onAttachedToHierarchy(arg0: PreferenceManager, arg1: Long): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  58. def onAttachedToHierarchy(arg0: PreferenceManager): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  59. def onBindViewHolder(holder: PreferenceViewHolder): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DropDownPreference → Preference
  60. def onClick(): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  61. def onDependencyChanged(arg0: Preference, arg1: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  62. def onGetDefaultValue(a: TypedArray, index: Int): String

    Permalink
    Attributes
    protected
    Definition Classes
    DropDownPreference → Preference
  63. def onParentChanged(arg0: Preference, arg1: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  64. def onPrepareForRemoval(): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  65. def onRestoreInstanceState(arg0: Parcelable): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  66. def onSaveInstanceState(): Parcelable

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  67. def onSetInitialValue(restoreValue: Boolean, defaultValue: AnyRef): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DropDownPreference → Preference
  68. def peekExtras(): Bundle

    Permalink
    Definition Classes
    Preference
  69. def performClick(): Unit

    Permalink
    Definition Classes
    Preference
  70. def performClick(arg0: View): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  71. def persistBoolean(arg0: Boolean): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  72. def persistFloat(arg0: Float): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  73. def persistInt(arg0: Int): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  74. def persistLong(arg0: Long): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  75. def persistString(arg0: String): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  76. def restoreHierarchyState(arg0: Bundle): Unit

    Permalink
    Definition Classes
    Preference
  77. def saveHierarchyState(arg0: Bundle): Unit

    Permalink
    Definition Classes
    Preference
  78. def setDefaultValue(arg0: Any): Unit

    Permalink
    Definition Classes
    Preference
  79. def setDependency(arg0: String): Unit

    Permalink
    Definition Classes
    Preference
  80. def setDropDownWidth(dimenResId: Int): Unit

    Permalink
  81. def setEnabled(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  82. def setEntries(entriesResId: Int): Unit

    Permalink

    entriesResId

    The entries array as a resource.

    See also

    #setEntries(CharSequence[])

  83. def setEntries(entries: Array[CharSequence]): Unit

    Permalink

    Sets the human-readable entries to be shown in the list.

    Sets the human-readable entries to be shown in the list. This will be shown in subsequent dialogs.

    Each entry must have a corresponding index in setEntryValues(CharSequence[]).

    entries

    The entries.

    See also

    setEntryValues(CharSequence[])

  84. def setEntryValues(entryValuesResId: Int): Unit

    Permalink

    entryValuesResId

    The entry values array as a resource.

    See also

    #setEntryValues(CharSequence[])

  85. def setEntryValues(entryValues: Array[CharSequence]): Unit

    Permalink

    The array to find the value to save for a preference when an entry from entries is selected.

    The array to find the value to save for a preference when an entry from entries is selected. If a user clicks on the second item in entries, the second item in this array will be saved to the preference.

    entryValues

    The array to be used as values to save for the preference.

  86. def setFragment(arg0: String): Unit

    Permalink
    Definition Classes
    Preference
  87. def setIcon(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  88. def setIcon(arg0: Drawable): Unit

    Permalink
    Definition Classes
    Preference
  89. def setIntent(arg0: Intent): Unit

    Permalink
    Definition Classes
    Preference
  90. def setKey(arg0: String): Unit

    Permalink
    Definition Classes
    Preference
  91. def setLayoutResource(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  92. def setOnPreferenceChangeListener(arg0: OnPreferenceChangeListener): Unit

    Permalink
    Definition Classes
    Preference
  93. def setOnPreferenceClickListener(arg0: OnPreferenceClickListener): Unit

    Permalink
    Definition Classes
    Preference
  94. def setOrder(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  95. def setPersistent(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  96. def setSelectable(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  97. def setShouldDisableView(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  98. def setSummary(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  99. def setSummary(arg0: CharSequence): Unit

    Permalink
    Definition Classes
    Preference
  100. def setTitle(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  101. def setTitle(arg0: CharSequence): Unit

    Permalink
    Definition Classes
    Preference
  102. def setValue(value: String): Unit

    Permalink

    Sets the value of the key.

    Sets the value of the key. This should be one of the entries in getEntryValues.

    value

    The value to set for the key.

  103. def setValueIndex(index: Int): Unit

    Permalink

    Sets the value to the given index from the entry values.

    Sets the value to the given index from the entry values.

    index

    The index of the value to set.

  104. final def setVisible(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  105. def setWidgetLayoutResource(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  106. def shouldDisableDependents(): Boolean

    Permalink
    Definition Classes
    Preference
  107. def shouldPersist(): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  108. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  109. def toString(): String

    Permalink
    Definition Classes
    Preference → AnyRef → Any
  110. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  111. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  112. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SummaryPreference

Inherited from Preference

Inherited from Comparable[Preference]

Inherited from AnyRef

Inherited from Any

Ungrouped