KioWareAddinSettings.KWDropdown Class

Subclass of KioWareAddinSettings. A dropdown list addin setting.

Methods

Type Signature
Constructor KWDropdown(String key, String defaultValue)
Creates a new KWDropdown instance with the specified save key and default value.
Constructor KWDropdown(String key, String defaultValue, boolean exportToXML)
Creates a new KWDropdown instance with the specified save key and default value.
KWDropdown setTitle(String title)
Sets the title of this setting.
KWDropdown setSummary(String summary)
Sets the summary of this setting.
KWDropdown setValues(String[] names, String[] values)
Sets the list values for this setting.
KWDropdown setValue(String value)
Sets the value of this setting.
KWDropdown setIcon(Drawable icon)
Sets the icon to display for this setting.
KWDropdown 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[] getNames()
Gets the list of names for this setting.
String[] getValues()
Gets the list of values for this setting.
String getDefaultValue()
Gets the default value of this setting.
Drawable getIcon()
Gets the icon of this setting.
String getValue()
Gets the value of this setting.
boolean getExportToXML()
Gets whether this setting will be exported with the XML settings.