org.sgx.j2s.html
Class Element
java.lang.Object
org.sgx.j2s.html.Element
- Direct Known Subclasses:
- Document, HTMLSelect, HTMLTable, HTMLTableCell, HTMLTableRow, IFrame, Image, Textarea
public class Element
- extends java.lang.Object
taken from j2s swt, but enriched by me
only compatible xml Node and html Elements properties
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parentNode
public Element parentNode
childNodes
public Element[] childNodes
nextSibling
public Element nextSibling
firstChild
public Element firstChild
lastChild
public Element lastChild
offsetLeft
public int offsetLeft
offsetTop
public int offsetTop
offsetParent
public Element offsetParent
style
public CSSStyle style
id
public java.lang.String id
innerHTML
public java.lang.String innerHTML
innerText
public java.lang.String innerText
text
public java.lang.String text
value
public java.lang.String value
type
public java.lang.String type
href
public java.lang.String href
target
public java.lang.String target
title
public java.lang.String title
onscroll
public java.lang.Object onscroll
onclick
public java.lang.Object onclick
onkeypress
public java.lang.Object onkeypress
onkeydown
public java.lang.Object onkeydown
onkeyup
public java.lang.Object onkeyup
oncontextmenu
public java.lang.Object oncontextmenu
size
public int size
selectedIndex
public int selectedIndex
options
public Option[] options
nodeName
public java.lang.String nodeName
nodeValue
public java.lang.String nodeValue
className
public java.lang.String className
onmousedown
public java.lang.Object onmousedown
onmouseup
public java.lang.Object onmouseup
ondblclick
public java.lang.Object ondblclick
onselectstart
public java.lang.Object onselectstart
checked
public boolean checked
readOnly
public boolean readOnly
multiple
public boolean multiple
onchange
public java.lang.Object onchange
onselectchange
public java.lang.Object onselectchange
width
public int width
height
public int height
offsetWidth
public int offsetWidth
clientWidth
public int clientWidth
scrollWidth
public int scrollWidth
scrollLeft
public int scrollLeft
offsetHeight
public int offsetHeight
clientHeight
public int clientHeight
scrollHeight
public int scrollHeight
scrollTop
public int scrollTop
src
public java.lang.String src
alt
public java.lang.String alt
disabled
public boolean disabled
onLoseCapture
public java.lang.Object onLoseCapture
onfocusout
public java.lang.Object onfocusout
onmousemove
public java.lang.Object onmousemove
onmouseover
public java.lang.Object onmouseover
onmouseout
public java.lang.Object onmouseout
onfocus
public java.lang.Object onfocus
onblur
public java.lang.Object onblur
onhelp
public java.lang.Object onhelp
rel
public java.lang.String rel
tabIndex
public int tabIndex
nodeType
public int nodeType
hasLayout
public boolean hasLayout
Element
public Element()
appendChild
public void appendChild(Element child)
select
public void select()
focus
public void focus()
removeChild
public void removeChild(Element handle)
replaceChild
public void replaceChild(Element newNode,
Element oldNode)
add
public void add(java.lang.Object object)
insertBefore
public void insertBefore(Element el,
Element afterEl)
cloneNode
public Element cloneNode(boolean flag)
setAttribute
public void setAttribute(java.lang.String attrName,
java.lang.Object attrValue)
getAttribute
public java.lang.Object getAttribute(java.lang.String string)