KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > wml > WMLSelectElement


1 /*
2  * Copyright 1999,2000,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.wml;
17
18 /**
19  * <p>The interface is modeled after DOM1 Spec for HTML from W3C.
20  * The DTD used in this DOM model is from
21  * <a HREF="http://www.wapforum.org/DTD/wml_1.1.xml">
22  * http://www.wapforum.org/DTD/wml_1.1.xml</a></p>
23  *
24  * <p>'select' element lets user pick from a list of options.
25  * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)</p>
26  *
27  * @version $Id: WMLSelectElement.java,v 1.2 2004/02/24 23:34:05 mrglavas Exp $
28  * @author <a HREF="mailto:david@topware.com.tw">David Li</a>
29  */

30 public interface WMLSelectElement extends WMLElement {
31     
32     /**
33      * 'tabindex' specifies the tabbing position of the element
34      * (Section 11.6.1, WAP WML Version 16-Jun-1999)
35      */

36     public void setTabIndex(int newValue);
37     public int getTabIndex();
38
39     /**
40      * 'multiple' indicates whether a list accept multiple selection
41      * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
42      */

43     public void setMultiple(boolean newValue);
44     public boolean getMultiple();
45
46     /**
47      * 'name' specifies the name of variable to be set.
48      * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
49      */

50     public void setName(String JavaDoc newValue);
51     public String JavaDoc getName();
52
53     /**
54      * 'value' specifics the default value of the variable of 'name'
55      * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
56      */

57     public void setValue(String JavaDoc newValue);
58     public String JavaDoc getValue();
59
60     /**
61      * 'title' specifies a title for this element
62      * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
63      */

64     public void setTitle(String JavaDoc newValue);
65     public String JavaDoc getTitle();
66
67     /**
68      * 'iname' specifies name of variable to be set with the index
69      * result of selection.
70      * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
71      */

72     public void setIName(String JavaDoc newValue);
73     public String JavaDoc getIName();
74
75     /**
76      * 'ivalue' specifies the default of the variable 'iname'
77      */

78     public void setIValue(String JavaDoc newValue);
79     public String JavaDoc getIValue();
80
81     /**
82      * 'xml:lang' specifics the natural or formal language in which
83      * the document is written.
84      * (Section 8.8, WAP WML Version 16-Jun-1999)
85      */

86     public void setXmlLang(String JavaDoc newValue);
87     public String JavaDoc getXmlLang();
88 }
89
Popular Tags