Source code: org/enhydra/wireless/wml/dom/WMLSelectElement.java
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 Enhydra Application Server is Lutris
15 * Technologies, Inc. The Enhydra Application Server and portions created
16 * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17 * All Rights Reserved.
18 *
19 * Contributor(s):
20 *
21 * $Id: WMLSelectElement.java,v 1.1.12.1 2000/10/19 17:59:10 jasona Exp $
22 */
23
24 /**
25 * The interface is modeled after DOM1 Spec for HTML from W3C.
26 * The DTD used in this DOM model is from
27 * http://www.wapforum.org/DTD/wml_1.1.xml
28 */
29
30 package org.enhydra.wireless.wml.dom;
31
32 /**
33 * 'select' element lets user pick from a list of options.
34 * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
35 */
36 public interface WMLSelectElement extends WMLElement {
37
38 /**
39 * 'tabindex' specifies the tabbing position of the element
40 * (Section 11.6.1, WAP WML Version 16-Jun-1999)
41 */
42 public void setTabIndex(int newValue);
43 public int getTabIndex();
44
45 /**
46 * 'multiple' indicates whether a list accept multiple selection
47 * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
48 */
49 public void setMultiple(boolean newValue);
50 public boolean getMultiple();
51
52 /**
53 * 'name' specifies the name of variable to be set.
54 * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
55 */
56 public void setName(String newValue);
57 public String getName();
58
59 /**
60 * 'value' specifics the default value of the variable of 'name'
61 * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
62 */
63 public void setValue(String newValue);
64 public String getValue();
65
66 /**
67 * 'title' specifies a title for this element
68 * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
69 */
70 public void setTitle(String newValue);
71 public String getTitle();
72
73 /**
74 * 'iname' specifies name of variable to be set with the index
75 * result of selection.
76 * (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
77 */
78 public void setIName(String newValue);
79 public String getIName();
80
81 /**
82 * 'ivalue' specifies the default of the variable 'iname'
83 */
84 public void setIValue(String newValue);
85 public String getIValue();
86
87 /**
88 * 'xml:lang' specifics the natural or formal language in which
89 * the document is written.
90 * (Section 8.8, WAP WML Version 16-Jun-1999)
91 */
92 public void setXmlLang(String newValue);
93 public String getXmlLang();
94 }