public class ReadOnlyUtils extends Object
| Constructor and Description |
|---|
ReadOnlyUtils() |
| Modifier and Type | Method and Description |
|---|---|
Element |
getClosestReadOnlyAncestor(com.google.gwt.dom.client.Node node) |
boolean |
isRangeBoundaryInsideReadOnlyElement(Range range) |
boolean |
isSelectionBoundaryInsideReadOnlyElement(Document document) |
public Element getClosestReadOnlyAncestor(com.google.gwt.dom.client.Node node)
node - a DOM nodepublic boolean isSelectionBoundaryInsideReadOnlyElement(Document document)
document - a DOM documenttrue if the selection starts or ends inside a read-only elementpublic boolean isRangeBoundaryInsideReadOnlyElement(Range range)
range - a DOM rangetrue if the range starts or ends inside a read-only elementCopyright © 2004–2014 XWiki. All rights reserved.