org.sgx.j2s.html
Class Document

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

public class Document
extends Element


Field Summary
 Element body
           
 
Fields inherited from class org.sgx.j2s.html.Element
alt, checked, childNodes, className, clientHeight, clientWidth, disabled, firstChild, hasLayout, height, href, id, innerHTML, innerText, lastChild, multiple, 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, options, parentNode, readOnly, rel, scrollHeight, scrollLeft, scrollTop, scrollWidth, selectedIndex, size, src, style, tabIndex, target, text, title, type, value, width
 
Constructor Summary
Document()
           
 
Method Summary
 void close()
           
 Element createElement(java.lang.String tag)
           
 Element createTextNode(java.lang.String string)
           
 Element getElementById(java.lang.String id)
           
 Element[] getElementsByTagName(java.lang.String tag)
           
 void write(java.lang.String html)
           
 
Methods inherited from class org.sgx.j2s.html.Element
add, appendChild, cloneNode, focus, 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

body

public Element body
Constructor Detail

Document

public Document()
Method Detail

createElement

public Element createElement(java.lang.String tag)

getElementsByTagName

public Element[] getElementsByTagName(java.lang.String tag)

createTextNode

public Element createTextNode(java.lang.String string)

getElementById

public Element getElementById(java.lang.String id)

write

public void write(java.lang.String html)

close

public void close()