KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > wireless > wml > dom > WMLSelectElement


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific terms governing rights and limitations
12  * under the License.
13  *
14  * The Initial Developer of the Original Code is DigitalSesame
15  * Portions created by DigitalSesame are Copyright (C) 1997-2000 DigitalSesame
16  * All Rights Reserved.
17  *
18  * Contributor(s):
19  *
20  * $Id: WMLSelectElement.java,v 1.1.1.1 2003/03/10 16:36:08 taweili Exp $
21  */

22
23 /**
24  * The interface is modeled after DOM1 Spec for HTML from W3C.
25  * The DTD used in this DOM model is from
26  * http://www.wapforum.org/DTD/wml_1.1.xml
27  */

28
29 package org.enhydra.wireless.wml.dom;
30
31 /**
32  * 'select' element lets user pick from a list of options.
33  * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
34  */

35 public interface WMLSelectElement extends WMLElement {
36     
37     /**
38      * 'tabindex' specifies the tabbing position of the element
39      * (Section 11.6.1, WAP WML Version 16-Jun-1999)
40      */

41     public void setTabIndex(int newValue);
42     public int getTabIndex();
43
44     /**
45      * 'multiple' indicates whether a list accept multiple selection
46      * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
47      */

48     public void setMultiple(boolean newValue);
49     public boolean getMultiple();
50
51     /**
52      * 'name' specifies the name of variable to be set.
53      * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
54      */

55     public void setName(String JavaDoc newValue);
56     public String JavaDoc getName();
57
58     /**
59      * 'value' specifics the default value of the variable of 'name'
60      * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
61      */

62     public void setValue(String JavaDoc newValue);
63     public String JavaDoc getValue();
64
65     /**
66      * 'title' specifies a title for this element
67      * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
68      */

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

77     public void setIName(String JavaDoc newValue);
78     public String JavaDoc getIName();
79
80     /**
81      * 'ivalue' specifies the default of the variable 'iname'
82      */

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

91     public void setXmlLang(String JavaDoc newValue);
92     public String JavaDoc getXmlLang();
93 }
94
Popular Tags