public class DOMUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
DOMUtils.EvtHandler |
static class |
DOMUtils.TextRectangle |
| Constructor and Description |
|---|
DOMUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addOneTimeHandler(com.google.gwt.dom.client.Element el,
String eventName,
DOMUtils.EvtHandler evtHandler) |
static double |
getBorderWidth(com.google.gwt.dom.client.Element e) |
static DOMUtils.TextRectangle |
getBoundingClientRect(com.google.gwt.dom.client.Element element)
Return the rectangle describing the elements bounds (top, left, right and bottom)
|
static double |
getMarginLeft(com.google.gwt.dom.client.Element e) |
static double |
getMarginTop(com.google.gwt.dom.client.Element e) |
static com.google.gwt.dom.client.Element |
getScrollParent(com.google.gwt.dom.client.Element element) |
static boolean |
isAttached(com.google.gwt.dom.client.Element element) |
static boolean |
isOverflowEnabled(com.google.gwt.dom.client.Element e) |
static boolean |
isRootNode(com.google.gwt.dom.client.Element e) |
public static DOMUtils.TextRectangle getBoundingClientRect(com.google.gwt.dom.client.Element element)
element - public static boolean isAttached(com.google.gwt.dom.client.Element element)
public static boolean isRootNode(com.google.gwt.dom.client.Element e)
public static double getMarginLeft(com.google.gwt.dom.client.Element e)
public static double getMarginTop(com.google.gwt.dom.client.Element e)
public static double getBorderWidth(com.google.gwt.dom.client.Element e)
public static com.google.gwt.dom.client.Element getScrollParent(com.google.gwt.dom.client.Element element)
public static boolean isOverflowEnabled(com.google.gwt.dom.client.Element e)
public static void addOneTimeHandler(com.google.gwt.dom.client.Element el,
String eventName,
DOMUtils.EvtHandler evtHandler)
Copyright © 2015. All rights reserved.