1 /*
2 * Angkor Web Framework
3 *
4 * Distributable under LGPL license.
5 * See terms of license at gnu.org.
6 */
7 package com.tirsen.angkor.widget;
8
9 /***
10 *
11 *
12 * <!-- $Id: ChoiceModel.java,v 1.2 2002/10/07 19:49:20 tirsen Exp $ -->
13 *
14 * @author $Author: tirsen $
15 * @version $Revision: 1.2 $
16 */
17 public interface ChoiceModel
18 {
19 public int[] getChoices();
20
21 /***
22 * TODO: this is view-related stuff. shouldn't that be specified when creating the view?
23 * TODO: it's kind of awkward that way though...
24 */
25 public String getChoiceText(int choice);
26
27 public void setChoice(int choice);
28 }
This page was automatically generated by Maven