org.xwiki.gwt.wysiwyg.client.plugin.readonly
Class ReadOnlyUtils
java.lang.Object
org.xwiki.gwt.wysiwyg.client.plugin.readonly.ReadOnlyUtils
public class ReadOnlyUtils
- extends Object
Utility methods concerning read-only regions inside the rich text area.
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadOnlyUtils
public ReadOnlyUtils()
getClosestReadOnlyAncestor
public Element getClosestReadOnlyAncestor(com.google.gwt.dom.client.Node node)
- Parameters:
node - a DOM node
- Returns:
- the closest ancestor of the given node that is marked as read-only
isSelectionBoundaryInsideReadOnlyElement
public boolean isSelectionBoundaryInsideReadOnlyElement(Document document)
- Parameters:
document - a DOM document
- Returns:
true if the selection starts or ends inside a read-only element
Copyright © 2004-2012 XWiki. All Rights Reserved.