int
|
getId()
Return the unique identifier.
|
String
|
getSummary()
Return the summary, if any.
|
String
|
getTitle()
Return the title.
|
boolean
|
isDisabled()
Return true if the preference is currently disabled.
|
boolean
|
isOverriding()
Return true if the value is different from the default value
|
boolean
|
isShowingOverride()
Return true if this preference is showing the override checkbox.
|
boolean
|
isVisible()
Return true is the preference is currently visible.
|
void
|
reset()
Set the value of this preference with the default value.
|
void
|
setDisabled(boolean disabled)
Disable or enable the preference (it will be grayed out and not clickable when disabled)
|
void
|
setSummary(String summary)
Set a new summary.
|
void
|
setTitle(String title)
Set a new title.
|
void
|
setValue(Object value, Object defaultValue)
Set the value and optionally a default value.
|
void
|
setVisible(boolean visible)
Show or hide this preference.
|