javacommons/utils/javasrc/com/nokia/mj/impl/rt/ui/ConfirmData.java
changeset 80 d6dafc5d983f
parent 21 2a9601315dfc
equal deleted inserted replaced
78:71ad690e91f5 80:d6dafc5d983f
    32     /**
    32     /**
    33      * Constructor
    33      * Constructor
    34      *
    34      *
    35      * @param aQuestion              the question (as localized text) to be
    35      * @param aQuestion              the question (as localized text) to be
    36      *                               asked from user
    36      *                               asked from user
    37      * @param aAnswerOptions         the answer options (as localized texts)
    37      * @param aAnswerOptions         the answer options (as localized texts).
       
    38      *                               If null UI loads default values.
    38      * @param aAnswerSuggestion      the suggestion for the option to be
    39      * @param aAnswerSuggestion      the suggestion for the option to be
    39      *                               selected (e.g. the option to be
    40      *                               selected (e.g. the option to be
    40      *                               highlighted when presenting the answer
    41      *                               highlighted when presenting the answer
    41      *                               options). This must be a valid index
    42      *                               options). This must be a valid index
    42      *                               within aAnswerOptions, otherwise the first
    43      *                               within aAnswerOptions, otherwise the first
    60      *                ignored
    61      *                ignored
    61      */
    62      */
    62     public void setAnswer(int aAnswer)
    63     public void setAnswer(int aAnswer)
    63     {
    64     {
    64         iAnswer = aAnswer;
    65         iAnswer = aAnswer;
       
    66     }
       
    67 
       
    68     /**
       
    69      * Setter for the answer options.
       
    70      * @param aAnswerOptions Set answer options. Answer options are
       
    71      *                       button labels.
       
    72      */    
       
    73     public void setAnswerOptions(String[] aAnswerOptions)
       
    74     {
       
    75         iAnswerOptions = aAnswerOptions;
    65     }
    76     }
    66 
    77 
    67     /**
    78     /**
    68      * Getter for the user's question
    79      * Getter for the user's question
    69      *
    80      *