Class Overview
This preference is used to store a text value
Summary
Public Constructors |
|
LLPreferenceText(int id, String title, String value, String defaultValue)
Construct a text preference.
|
Public Methods |
String
|
getValue()
Return the current preference text.
|
void
|
setValue(String value)
Set the preference text.
|
[Expand]
Inherited Methods |
From class
net.pierrox.lightning_launcher.prefs.LLPreference
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.
|
|
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
LLPreferenceText
(int id, String title, String value, String defaultValue)
Construct a text preference. The value is displayed in place of the summary.
Public Methods
public
String
getValue
()
Return the current preference text.
public
void
setValue
(String value)