public class Range extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Boolean> |
collapsed |
Objs.Property<Node> |
commonAncestorContainer |
Objs.Property<Number> |
END_TO_END |
Objs.Property<Number> |
END_TO_START |
Objs.Property<Node> |
endContainer |
Objs.Property<Number> |
endOffset |
Objs.Property<Number> |
START_TO_END |
Objs.Property<Number> |
START_TO_START |
Objs.Property<Node> |
startContainer |
Objs.Property<Number> |
startOffset |
Modifier | Constructor and Description |
---|---|
protected |
Range(Objs.Constructor<?> c,
Object js) |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<Boolean> collapsed
public Objs.Property<Node> commonAncestorContainer
public Objs.Property<Node> endContainer
public Objs.Property<Number> endOffset
public Objs.Property<Node> startContainer
public Objs.Property<Number> startOffset
public Objs.Property<Number> END_TO_END
public Objs.Property<Number> END_TO_START
public Objs.Property<Number> START_TO_END
public Objs.Property<Number> START_TO_START
protected Range(Objs.Constructor<?> c, Object js)
public Boolean collapsed()
public Node commonAncestorContainer()
public Node endContainer()
public Number endOffset()
public Node startContainer()
public Number startOffset()
public Number END_TO_END()
public Number END_TO_START()
public Number START_TO_END()
public Number START_TO_START()
public DocumentFragment cloneContents()
public Range cloneRange()
public void collapse(Boolean toStart)
public double compareBoundaryPoints(double how, Range sourceRange)
public DocumentFragment createContextualFragment(String fragment)
public void deleteContents()
public void detach()
public DocumentFragment extractContents()
public ClientRect getBoundingClientRect()
public ClientRectList getClientRects()
public void insertNode(Node newNode)
public void selectNode(Node refNode)
public void selectNodeContents(Node refNode)
public void setEnd(Node refNode, double offset)
public void setEndAfter(Node refNode)
public void setEndBefore(Node refNode)
public void setStart(Node refNode, double offset)
public void setStartAfter(Node refNode)
public void setStartBefore(Node refNode)
public void surroundContents(Node newParent)
Copyright © 2018. All rights reserved.