--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/javauis/lcdui_akn/javalcdui/javasrc/javax/microedition/lcdui/Choice.java Tue Apr 27 16:30:29 2010 +0300
@@ -0,0 +1,67 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+
+package javax.microedition.lcdui;
+
+
+public interface Choice
+{
+ static final int EXCLUSIVE = 1;
+ static final int MULTIPLE = 2;
+ static final int IMPLICIT = 3;
+ static final int POPUP = 4;
+ //
+ static final int TEXT_WRAP_DEFAULT = 0;
+ static final int TEXT_WRAP_ON = 1;
+ static final int TEXT_WRAP_OFF = 2;
+
+ int size();
+
+ String getString(int aElementNum);
+
+ Image getImage(int aElementNum);
+
+ int append(String aStringElement,Image aImageElement);
+
+ void insert(int aElementNum,String aStringElement,Image aImageElement);
+
+ void delete(int aElementNum);
+
+ void deleteAll();
+
+ void set(int aElementNum,String aStringElement,Image aImageElement);
+
+ boolean isSelected(int aElementNum);
+
+ int getSelectedIndex();
+
+ int getSelectedFlags(boolean[] aSelectedArray);
+
+ void setSelectedIndex(int aElementNum,boolean aSelected);
+
+ void setSelectedFlags(boolean[] aSelectedArray);
+
+ void setFitPolicy(int aFitPolicy);
+
+ int getFitPolicy();
+
+ void setFont(int aElementNum,Font aFont);
+
+ Font getFont(int aElementNum);
+}