Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static int[] |
getAbsoluteTopLeft(com.google.gwt.dom.client.Element element,
com.google.gwt.dom.client.Document document) |
static String |
getBaseHref() |
static Range |
getCurrentRange(com.google.gwt.dom.client.Document document) |
static String |
removeWhitespaces(String text,
com.google.gwt.dom.client.Node node) |
static String |
removeWhitespaces(String text,
com.google.gwt.dom.client.Node node,
boolean forceIfOnlyWhitespaces) |
static com.google.gwt.dom.client.Document |
setDocument(com.google.gwt.dom.client.Document document) |
public Utils()
public static com.google.gwt.dom.client.Document setDocument(com.google.gwt.dom.client.Document document)
public static int[] getAbsoluteTopLeft(com.google.gwt.dom.client.Element element, com.google.gwt.dom.client.Document document)
public static String getBaseHref()
public static Range getCurrentRange(com.google.gwt.dom.client.Document document)
public static String removeWhitespaces(String text, com.google.gwt.dom.client.Node node)
public static String removeWhitespaces(String text, com.google.gwt.dom.client.Node node, boolean forceIfOnlyWhitespaces)
Copyright © 2018 Nuxeo. All rights reserved.