Uses of Class
org.w3c.dom.ranges.RangeException
Package | Description |
---|---|
org.w3c.dom.ranges |
Provides interfaces for DOM Level 2 Range.
|
-
Uses of RangeException in org.w3c.dom.ranges
Methods in org.w3c.dom.ranges that throw RangeException Modifier and Type Method Description void
Range. insertNode(Node newNode)
Inserts a node into the Document or DocumentFragment at the start of the Range.void
Range. selectNode(Node refNode)
Select a node and its contentsvoid
Range. selectNodeContents(Node refNode)
Select the contents within a nodevoid
Range. setEnd(Node refNode, int offset)
Sets the attributes describing the end of a Range.void
Range. setEndAfter(Node refNode)
Sets the end of a Range to be after a nodevoid
Range. setEndBefore(Node refNode)
Sets the end position to be before a node.void
Range. setStart(Node refNode, int offset)
Sets the attributes describing the start of the Range.void
Range. setStartAfter(Node refNode)
Sets the start position to be after a nodevoid
Range. setStartBefore(Node refNode)
Sets the start position to be before a nodevoid
Range. surroundContents(Node newParent)
Reparents the contents of the Range to the given node and inserts the node at the position of the start of the Range.