2
* Licensed to the Apache Software Foundation (ASF) under one or more
3
* contributor license agreements. See the NOTICE file distributed with
4
* this work for additional information regarding copyright ownership.
5
* The ASF licenses this file to You under the Apache License, Version 2.0
6
* (the "License"); you may not use this file except in compliance with
7
* the License. You may obtain a copy of the License at
9
* http://www.apache.org/licenses/LICENSE-2.0
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
17
package org.apache.wml;
20
* <p>The interface is modeled after DOM1 Spec for HTML from W3C.
21
* The DTD used in this DOM model is from
22
* <a href="http://www.wapforum.org/DTD/wml_1.1.xml">
23
* http://www.wapforum.org/DTD/wml_1.1.xml</a></p>
25
* <p>'select' element lets user pick from a list of options.
26
* (Section 11.6.2.1, WAP WML Version 16-Jun-1999)</p>
28
* @version $Id: WMLSelectElement.java,v 1.2 2009/12/10 03:18:40 matthewoliver Exp $
29
* @author <a href="mailto:david@topware.com.tw">David Li</a>
31
public interface WMLSelectElement extends WMLElement {
34
* 'tabindex' specifies the tabbing position of the element
35
* (Section 11.6.1, WAP WML Version 16-Jun-1999)
37
public void setTabIndex(int newValue);
38
public int getTabIndex();
41
* 'multiple' indicates whether a list accept multiple selection
42
* (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
44
public void setMultiple(boolean newValue);
45
public boolean getMultiple();
48
* 'name' specifies the name of variable to be set.
49
* (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
51
public void setName(String newValue);
52
public String getName();
55
* 'value' specifics the default value of the variable of 'name'
56
* (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
58
public void setValue(String newValue);
59
public String getValue();
62
* 'title' specifies a title for this element
63
* (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
65
public void setTitle(String newValue);
66
public String getTitle();
69
* 'iname' specifies name of variable to be set with the index
70
* result of selection.
71
* (Section 11.6.2.1, WAP WML Version 16-Jun-1999)
73
public void setIName(String newValue);
74
public String getIName();
77
* 'ivalue' specifies the default of the variable 'iname'
79
public void setIValue(String newValue);
80
public String getIValue();
83
* 'xml:lang' specifics the natural or formal language in which
84
* the document is written.
85
* (Section 8.8, WAP WML Version 16-Jun-1999)
87
public void setXmlLang(String newValue);
88
public String getXmlLang();