1 21 32 33 package org.w3c.dom.html2; 34 35 import org.w3c.dom.DOMException ; 36 37 43 public interface HTMLSelectElement extends HTMLElement { 44 49 public String getType(); 50 51 56 public int getSelectedIndex(); 57 62 public void setSelectedIndex(int selectedIndex); 63 64 69 public String getValue(); 70 75 public void setValue(String value); 76 77 81 public int getLength(); 82 89 public void setLength(int length) 90 throws DOMException ; 91 92 97 public HTMLFormElement getForm(); 98 99 104 public HTMLOptionsCollection getOptions(); 105 106 110 public boolean getDisabled(); 111 115 public void setDisabled(boolean disabled); 116 117 122 public boolean getMultiple(); 123 128 public void setMultiple(boolean multiple); 129 130 134 public String getName(); 135 139 public void setName(String name); 140 141 144 public int getSize(); 145 148 public void setSize(int size); 149 150 154 public int getTabIndex(); 155 159 public void setTabIndex(int tabIndex); 160 161 177 public void add(HTMLElement element, 178 HTMLElement before) 179 throws DOMException ; 180 181 187 public void remove(int index); 188 189 192 public void blur(); 193 194 197 public void focus(); 198 199 } 200 | Popular Tags |