com.google.gwt.user.client.impl
Class DOMImpl

java.lang.Object
  extended bycom.google.gwt.user.client.impl.DOMImpl
Direct Known Subclasses:
com.google.gwt.user.client.impl.DOMImplStandard

public abstract class DOMImpl
extends Object

Native implementation associated with com.google.gwt.user.client.Dom.


Field Summary
 
Fields inherited from class java.lang.Object
typeId, typeName
 
Constructor Summary
DOMImpl()
           
 
Method Summary
 void appendChild(Element parent, Element child)
           
abstract  boolean compare(Element elem1, Element elem2)
           
 Element createElement(String tag)
           
 Element createInputElement(String type)
           
abstract  Element createInputRadioElement(String group)
           
protected  void elementSetIntAttribute(Element elem, String attr, int value)
           
 void eventCancelBubble(Event evt, boolean cancel)
           
 boolean eventGetAltKey(Event evt)
           
 int eventGetButton(Event evt)
           
 int eventGetClientX(Event evt)
           
 int eventGetClientY(Event evt)
           
 boolean eventGetCtrlKey(Event evt)
           
 Element eventGetFromElement(Event evt)
           
 char eventGetKeyCode(Event evt)
           
 boolean eventGetRepeat(Event evt)
           
 int eventGetScreenX(Event evt)
           
 int eventGetScreenY(Event evt)
           
 boolean eventGetShiftKey(Event evt)
           
abstract  Element eventGetTarget(Event evt)
           
 Element eventGetToElement(Event evt)
           
 String eventGetType(Event evt)
           
 int eventGetTypeInt(Event evt)
           
abstract  void eventPreventDefault(Event evt)
           
 void eventSetKeyCode(Event evt, char key)
           
abstract  String eventToString(Event evt)
           
 int getAbsoluteLeft(Element elem)
           
 int getAbsoluteTop(Element elem)
           
 String getAttribute(Element elem, String attr)
           
abstract  Element getChild(Element elem, int index)
           
abstract  int getChildCount(Element elem)
           
abstract  int getChildIndex(Element parent, Element child)
           
 Element getElementById(String id)
           
 int getEventsSunk(Element elem)
           
abstract  Element getFirstChild(Element elem)
           
 String getInnerHTML(Element elem)
           
 String getInnerText(Element node)
           
 int getIntAttribute(Element elem, String attr)
           
 int getIntStyleAttribute(Element elem, String attr)
           
abstract  Element getNextSibling(Element elem)
           
abstract  Element getParent(Element elem)
           
 String getStyleAttribute(Element elem, String attr)
           
abstract  void init()
           
abstract  void insertChild(Element parent, Element child, int index)
           
abstract  boolean isOrHasChild(Element parent, Element child)
           
abstract  void releaseCapture(Element elem)
           
 void removeChild(Element parent, Element child)
           
 void setAttribute(Element elem, String attr, String value)
           
 void setBooleanAttribute(Element elem, String attr, boolean value)
           
abstract  void setCapture(Element elem)
           
 void setEventListener(Element elem, EventListener listener)
           
 void setInnerHTML(Element elem, String html)
           
 void setInnerText(Element elem, String text)
           
 void setStyleAttribute(Element elem, String attr, String value)
           
abstract  void sinkEvents(Element elem, int eventBits)
           
abstract  String toString(Element elem)
           
 
Methods inherited from class java.lang.Object
equals, finalize, hashCode, toString
 

Constructor Detail

DOMImpl

public DOMImpl()
Method Detail

appendChild

public void appendChild(Element parent,
                        Element child)

compare

public abstract boolean compare(Element elem1,
                                Element elem2)

createElement

public Element createElement(String tag)

createInputElement

public Element createInputElement(String type)

createInputRadioElement

public abstract Element createInputRadioElement(String group)

eventCancelBubble

public void eventCancelBubble(Event evt,
                              boolean cancel)

eventGetAltKey

public boolean eventGetAltKey(Event evt)

eventGetButton

public int eventGetButton(Event evt)

eventGetClientX

public int eventGetClientX(Event evt)

eventGetClientY

public int eventGetClientY(Event evt)

eventGetCtrlKey

public boolean eventGetCtrlKey(Event evt)

eventGetFromElement

public Element eventGetFromElement(Event evt)

eventGetKeyCode

public char eventGetKeyCode(Event evt)

eventGetRepeat

public boolean eventGetRepeat(Event evt)

eventGetScreenX

public int eventGetScreenX(Event evt)

eventGetScreenY

public int eventGetScreenY(Event evt)

eventGetShiftKey

public boolean eventGetShiftKey(Event evt)

eventGetTarget

public abstract Element eventGetTarget(Event evt)

eventGetToElement

public Element eventGetToElement(Event evt)

eventGetType

public String eventGetType(Event evt)

eventGetTypeInt

public int eventGetTypeInt(Event evt)

eventPreventDefault

public abstract void eventPreventDefault(Event evt)

eventSetKeyCode

public void eventSetKeyCode(Event evt,
                            char key)

eventToString

public abstract String eventToString(Event evt)

getAbsoluteLeft

public int getAbsoluteLeft(Element elem)

getAbsoluteTop

public int getAbsoluteTop(Element elem)

getAttribute

public String getAttribute(Element elem,
                           String attr)

getChild

public abstract Element getChild(Element elem,
                                 int index)

getChildCount

public abstract int getChildCount(Element elem)

getChildIndex

public abstract int getChildIndex(Element parent,
                                  Element child)

getElementById

public Element getElementById(String id)

getEventsSunk

public int getEventsSunk(Element elem)

getFirstChild

public abstract Element getFirstChild(Element elem)

getInnerHTML

public String getInnerHTML(Element elem)

getInnerText

public String getInnerText(Element node)

getIntAttribute

public int getIntAttribute(Element elem,
                           String attr)

getIntStyleAttribute

public int getIntStyleAttribute(Element elem,
                                String attr)

getNextSibling

public abstract Element getNextSibling(Element elem)

getParent

public abstract Element getParent(Element elem)

getStyleAttribute

public String getStyleAttribute(Element elem,
                                String attr)

init

public abstract void init()

insertChild

public abstract void insertChild(Element parent,
                                 Element child,
                                 int index)

isOrHasChild

public abstract boolean isOrHasChild(Element parent,
                                     Element child)

releaseCapture

public abstract void releaseCapture(Element elem)

removeChild

public void removeChild(Element parent,
                        Element child)

setAttribute

public void setAttribute(Element elem,
                         String attr,
                         String value)

setBooleanAttribute

public void setBooleanAttribute(Element elem,
                                String attr,
                                boolean value)

setCapture

public abstract void setCapture(Element elem)

setEventListener

public void setEventListener(Element elem,
                             EventListener listener)

setInnerHTML

public void setInnerHTML(Element elem,
                         String html)

setInnerText

public void setInnerText(Element elem,
                         String text)

setStyleAttribute

public void setStyleAttribute(Element elem,
                              String attr,
                              String value)

sinkEvents

public abstract void sinkEvents(Element elem,
                                int eventBits)

toString

public abstract String toString(Element elem)

elementSetIntAttribute

protected void elementSetIntAttribute(Element elem,
                                      String attr,
                                      int value)


This javadoc distribution was not produced by Google. The official documentation is here.