KioWareAddinSettings.KWBoolean Class
Subclass of KioWareAddinSettings. A Boolean addin setting.
Methods
Type | Signature |
Constructor |
KWBoolean(String key, boolean defaultValue)
Creates a new KWBoolean instance with the specified save key and default value. |
Constructor |
KWBoolean(String key, boolean defaultValue, boolean exportToXML)
Creates a new KWBoolean instance with the specified save key and default value. |
KWBoolean |
setTitle(String title)
Sets the title of this setting. |
KWBoolean |
setSummary(String summary)
Sets the summary of this setting. |
KWBoolean |
setSummaryOn(String summaryOn)
Sets the summary of this setting when enabled. |
KWBoolean |
setSummaryOff(String summaryOff)
Sets the summary of this setting when disabled. |
KWBoolean |
setValue(Boolean value)
Sets the value of this setting. |
KWBoolean |
setIcon(Drawable icon)
Sets the icon to display for this setting. |
KWBoolean |
setOnKWAddinChangeListener(OnKWAddinChangeListener onKWAddinChangeListener)
Sets an OnKWAddinChangeListener for this setting, whose accept() method will be called when the value of this setting changes. |
String |
getTitle()
Gets the title of this setting. |
String |
getSummary()
Gets the summary of this setting. |
String |
getSummaryOn()
Gets the enabled summary of this setting. |
String |
getSummaryOff()
Gets the title of this setting. |
boolean |
getDefaultValue()
Gets the default value of this setting. |
Drawable |
getIcon()
Gets the icon of this setting. |
boolean |
getValue()
Gets the value of this setting. |
boolean |
getExportToXML()
Gets whether this setting will be exported with the XML settings. |