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 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 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)
           
 
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 String getBaseHref()

getCurrentRange

public static Range getCurrentRange(com.google.gwt.dom.client.Document document)

removeWhitespaces

public static String removeWhitespaces(String text,
                                       com.google.gwt.dom.client.Node node)

removeWhitespaces

public static String removeWhitespaces(String text,
                                       com.google.gwt.dom.client.Node node,
                                       boolean forceIfOnlyWhitespaces)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.