KioWareAddinSettings.KWInteger Class
Subclass of KioWareAddinSettings. An Integer addin setting.
Methods
Type | Signature |
Constructor |
KWInteger(String key, int defaultValue)
Creates a new KWInteger instance with the specified save key and default value. |
Constructor |
KWInteger(String key, int defaultValue, boolean exportToXML)
Creates a new KWInteger instance with the specified save key and default value. |
KWInteger |
setTitle(String title)
Sets the title of this setting. |
KWInteger |
setSummary(String summary)
Sets the summary of this setting. |
KWInteger |
setValue(int value)
Sets the value of this setting. |
KWInteger |
setIcon(Drawable icon)
Sets the icon to display for this setting. |
KWInteger |
setDialogMessage(String msg)
Sets the message to display in the popup dialog for this setting. |
KWInteger |
setUnits(String units)
Sets the units String for this setting. |
KWInteger |
setMin(int min)
Sets the minimum value of this setting. |
KWInteger |
setMax(int max)
Sets the maximum value of this setting. |
KWInteger |
setShowValueInTitle(boolean show)
Sets whether the value of this setting is diplayed in the summary. |
KWInteger |
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. |
int |
getDefaultValue()
Gets the default value of this setting. |
Drawable |
getIcon()
Gets the icon of this setting. |
String |
getDialogMessage()
Gets the dialog message of this setting. |
String |
getUnits()
Gets the units String for this setting. |
int |
getMin()
Gets the minimum value of this setting. |
int |
getMax()
Gets the maximum value of this setting. |
boolean |
getShowInTitle()
Gets whether the value of this setting shows in the title. |
int |
getValue()
Gets the value of this setting. |
boolean |
getExportToXML()
Gets whether this setting will be exported with the XML settings. |