Home | History | Annotate | Download | only in smackx

Lines Matching defs:Option

55     private final List<Option> options = new ArrayList<Option>();
105 public Iterator<Option> getOptions() {
107 return Collections.unmodifiableList(new ArrayList<Option>(options)).iterator();
261 * @param option a new available option for the question.
263 public void addOption(Option option) {
265 options.add(option);
295 for (Iterator<Option> i = getOptions(); i.hasNext();) {
322 * Represents the available option of a given FormField.
326 public static class Option {
331 public Option(String value) {
335 public Option(String label, String value) {
341 * Returns the label that represents the option.
343 * @return the label that represents the option.
350 * Returns the value of the option.
352 * @return the value of the option.
365 buf.append("<option");
374 buf.append("</option>");
387 Option other = (Option) obj;