com.xpn.xwiki.wysiwyg.client.util
Class DOMUtils

java.lang.Object
  extended by com.xpn.xwiki.wysiwyg.client.util.DOMUtils
Direct Known Subclasses:
IEDOMUtils, MozillaDOMUtils

public abstract class DOMUtils
extends java.lang.Object


Constructor Summary
DOMUtils()
           
 
Method Summary
abstract  java.lang.String getComputedStyleProperty(com.google.gwt.dom.client.Element el, java.lang.String propertyName)
           
 java.lang.String getDisplay(com.google.gwt.dom.client.Node node)
           
 com.google.gwt.dom.client.Node getFirstLeaf(com.google.gwt.dom.client.Node node)
           
static DOMUtils getInstance()
           
 com.google.gwt.dom.client.Node getLastLeaf(com.google.gwt.dom.client.Node node)
           
 com.google.gwt.dom.client.Node getNextLeaf(com.google.gwt.dom.client.Node node)
           
 int getNodeIndex(com.google.gwt.dom.client.Node node)
           
 int getOffset(com.google.gwt.dom.client.Text text)
           
 com.google.gwt.dom.client.Node getPreviousLeaf(com.google.gwt.dom.client.Node node)
           
 Range getTextRange(Range range)
           
 boolean isInline(com.google.gwt.dom.client.Node node)
           
 TextFragment normalize(com.google.gwt.dom.client.Text text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMUtils

public DOMUtils()
Method Detail

getInstance

public static DOMUtils getInstance()

getComputedStyleProperty

public abstract java.lang.String getComputedStyleProperty(com.google.gwt.dom.client.Element el,
                                                          java.lang.String propertyName)

getNextLeaf

public com.google.gwt.dom.client.Node getNextLeaf(com.google.gwt.dom.client.Node node)

getPreviousLeaf

public com.google.gwt.dom.client.Node getPreviousLeaf(com.google.gwt.dom.client.Node node)

getFirstLeaf

public com.google.gwt.dom.client.Node getFirstLeaf(com.google.gwt.dom.client.Node node)

getLastLeaf

public com.google.gwt.dom.client.Node getLastLeaf(com.google.gwt.dom.client.Node node)

getNodeIndex

public int getNodeIndex(com.google.gwt.dom.client.Node node)

normalize

public TextFragment normalize(com.google.gwt.dom.client.Text text)

getOffset

public int getOffset(com.google.gwt.dom.client.Text text)

isInline

public boolean isInline(com.google.gwt.dom.client.Node node)

getDisplay

public java.lang.String getDisplay(com.google.gwt.dom.client.Node node)

getTextRange

public Range getTextRange(Range range)


Copyright © 2004-2008 XWiki. All Rights Reserved.