package javax.microedition.lcdui;

/**
 * 
 * @author Andre Nijholt
 */
public interface Choice {
	public static final int EXCLUSIVE	= 1;
	public static final int MULTIPLE	= 2;
	public static final int IMPLICIT	= 3;
	public static final int POPUP		= 4;
	
	public static final int TEXT_WRAP_DEFAULT 	= 0;
	public static final int TEXT_WRAP_ON		= 1;
	public static final int TEXT_WRAP_OFF		= 2;
	
	public int append(String stringPart, Image imagePart);
	public void delete(int elementNum);
	public void deleteAll();
//	public int getFitPolicy();
//	public Font getFont(int elementNum);
	public Image getImage(int elementNum);
	public int getSelectedFlags(boolean[] selectedArray_return); 
	public int getSelectedIndex(); 
	public String getString(int elementNum); 
	public void insert(int elementNum, String stringPart, Image imagePart); 
	public boolean isSelected(int elementNum); 
	public void set(int elementNum, String stringPart, Image imagePart); 
//    public void setFitPolicy(int fitPolicy); 
//    public void setFont(int elementNum, Font font); 
    public void setSelectedFlags(boolean[] selectedArray); 
    public void setSelectedIndex(int elementNum, boolean selected); 
    public int size() ;
}
