--- a/javacommons/utils/javasrc/com/nokia/mj/impl/rt/ui/ConfirmData.java Mon Oct 04 11:29:25 2010 +0300
+++ b/javacommons/utils/javasrc/com/nokia/mj/impl/rt/ui/ConfirmData.java Fri Oct 15 12:29:39 2010 +0300
@@ -34,7 +34,8 @@
*
* @param aQuestion the question (as localized text) to be
* asked from user
- * @param aAnswerOptions the answer options (as localized texts)
+ * @param aAnswerOptions the answer options (as localized texts).
+ * If null UI loads default values.
* @param aAnswerSuggestion the suggestion for the option to be
* selected (e.g. the option to be
* highlighted when presenting the answer
@@ -65,6 +66,16 @@
}
/**
+ * Setter for the answer options.
+ * @param aAnswerOptions Set answer options. Answer options are
+ * button labels.
+ */
+ public void setAnswerOptions(String[] aAnswerOptions)
+ {
+ iAnswerOptions = aAnswerOptions;
+ }
+
+ /**
* Getter for the user's question
*
* @return the question (as localized text) to be asked from user