Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.annotations.gwt.client.util
Class Utils

java.lang.Object
  extended by 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
 

Constructor Detail

Utils

public Utils()
Method Detail

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)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.