|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Range in org.xwiki.gwt.dom.client |
|---|
| Methods in org.xwiki.gwt.dom.client that return Range | |
|---|---|
Range |
Range.cloneRange()
Produces a new Range whose boundary-points are equal to the boundary-points of this range. |
Range |
Document.createRange()
We've added this method because at the time of writing Document doesn't offer
support for creating a range. |
Range |
RangeFactory.createRange(Document doc)
|
Range |
Selection.getRangeAt(int index)
|
Range |
DOMUtils.getTextRange(Range range)
Computes the longest text range included in the specified range. |
| Methods in org.xwiki.gwt.dom.client with parameters of type Range | |
|---|---|
void |
Selection.addRange(Range range)
Adds a range to this selection. |
short |
Range.compareBoundaryPoints(RangeCompare how,
Range sourceRange)
Compare the boundary-points of two Ranges in a document. |
com.google.gwt.dom.client.Node |
DOMUtils.getFirstLeaf(Range range)
|
com.google.gwt.dom.client.Node |
DOMUtils.getLastLeaf(Range range)
|
com.google.gwt.dom.client.Node |
DOMUtils.getNextLeaf(Range range)
|
com.google.gwt.dom.client.Node |
DOMUtils.getNextNode(Range range)
|
com.google.gwt.dom.client.Node |
DOMUtils.getPreviousLeaf(Range range)
|
com.google.gwt.dom.client.Node |
DOMUtils.getPreviousNode(Range range)
|
Range |
DOMUtils.getTextRange(Range range)
Computes the longest text range included in the specified range. |
void |
Selection.removeRange(Range range)
Removes the given range from the selection. |
void |
DOMUtils.scrollIntoView(Range range)
Makes sure that a given DOM range is visible by scrolling it into view. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||