org.cruxframework.crux.core.client.utils
Class DOMUtils

java.lang.Object
  extended by org.cruxframework.crux.core.client.utils.DOMUtils

public class DOMUtils
extends Object

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
static interface DOMUtils.EvtHandler
           
static class DOMUtils.TextRectangle
           
 
Constructor Summary
DOMUtils()
           
 
Method Summary
static void addOneTimeHandler(com.google.gwt.dom.client.Element el, String eventName, DOMUtils.EvtHandler evtHandler)
           
static DOMUtils.TextRectangle getBoundingClientRect(com.google.gwt.dom.client.Element element)
          Return the rectangle describing the elements bounds (top, left, right and bottom)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMUtils

public DOMUtils()
Method Detail

getBoundingClientRect

public static DOMUtils.TextRectangle getBoundingClientRect(com.google.gwt.dom.client.Element element)
Return the rectangle describing the elements bounds (top, left, right and bottom)

Parameters:
element -
Returns:

addOneTimeHandler

public static void addOneTimeHandler(com.google.gwt.dom.client.Element el,
                                     String eventName,
                                     DOMUtils.EvtHandler evtHandler)


Copyright © 2014. All rights reserved.