org.sgx.j2s.html
Class HTMLSelect

Package class diagram package HTMLSelect
java.lang.Object
  extended by org.sgx.j2s.html.Element
      extended by org.sgx.j2s.html.HTMLSelect

public abstract class HTMLSelect
extends Element

TODO: complete with http://www.w3schools.com/jsref/dom_obj_select.asp


Field Summary
 int length
           
 boolean multiple
           
 HTMLOption[] options
           
 int selectedIndex
           
 int size
           
 int tabIndex
           
 
Fields inherited from class org.sgx.j2s.html.Element
alt, checked, childNodes, className, clientHeight, clientWidth, disabled, firstChild, hasLayout, height, href, id, innerHTML, innerText, lastChild, nextSibling, nodeName, nodeType, nodeValue, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, onblur, onchange, onclick, oncontextmenu, ondblclick, onfocus, onfocusout, onhelp, onkeydown, onkeypress, onkeyup, onLoseCapture, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onscroll, onselectchange, onselectstart, parentNode, readOnly, rel, scrollHeight, scrollLeft, scrollTop, scrollWidth, src, style, target, text, title, type, value, width
 
Constructor Summary
HTMLSelect()
           
 
Method Summary
abstract  void add(HTMLOption opt)
           
abstract  void blur()
           
abstract  void focus()
           
abstract  void remove(int opt)
           
 
Methods inherited from class org.sgx.j2s.html.Element
add, appendChild, cloneNode, getAttribute, insertBefore, removeChild, replaceChild, select, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selectedIndex

public int selectedIndex

length

public int length

size

public int size

tabIndex

public int tabIndex

multiple

public boolean multiple

options

public HTMLOption[] options
Constructor Detail

HTMLSelect

public HTMLSelect()
Method Detail

add

public abstract void add(HTMLOption opt)

remove

public abstract void remove(int opt)

blur

public abstract void blur()

focus

public abstract void focus()
Overrides:
focus in class Element