org.nuxeo.ecm.platform.annotations.gwt.client.util
Class Utils
java.lang.Object
org.nuxeo.ecm.platform.annotations.gwt.client.util.Utils
public class Utils
- extends java.lang.Object
- Author:
- Alexandre Russel
Constructor Summary |
Utils()
|
Method Summary |
static int[] |
getAbsoluteTopLeft(com.google.gwt.dom.client.Element element,
com.google.gwt.dom.client.Document document)
|
static java.lang.String |
getBaseHref()
|
static Range |
getCurrentRange(com.google.gwt.dom.client.Document document)
|
static java.lang.String |
removeWhitespaces(java.lang.String text,
com.google.gwt.dom.client.Node node)
|
static java.lang.String |
removeWhitespaces(java.lang.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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
setDocument
public static com.google.gwt.dom.client.Document setDocument(com.google.gwt.dom.client.Document document)
getAbsoluteTopLeft
public static int[] getAbsoluteTopLeft(com.google.gwt.dom.client.Element element,
com.google.gwt.dom.client.Document document)
getBaseHref
public static java.lang.String getBaseHref()
getCurrentRange
public static Range getCurrentRange(com.google.gwt.dom.client.Document document)
removeWhitespaces
public static java.lang.String removeWhitespaces(java.lang.String text,
com.google.gwt.dom.client.Node node)
removeWhitespaces
public static java.lang.String removeWhitespaces(java.lang.String text,
com.google.gwt.dom.client.Node node,
boolean forceIfOnlyWhitespaces)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.