Exemple #1
0
 /// <summary>
 /// Insert a Node at the start of a Range.
 /// </summary>
 /// <param name="newNode">The Node to insert at the start of the range.</param>
 public virtual void InsertNode(Node newNode)
 {
 }
 public TransformControls(Camera camera, Node node = null)
 {
 }
 public OrthographicTrackballControls(Camera camera, Node node = null)
 {
 }
Exemple #4
0
 /// <summary>
 /// Tests whether two nodes are equal.
 /// </summary>
 /// <param name="node">The node to compare equality with.</param>
 /// <returns></returns>
 public virtual bool IsEqualNode(Node node)
 {
     return false;
 }
Exemple #5
0
 /// <summary>
 /// Replaces one child node of the specified element with another.
 /// </summary>
 /// <param name="newChild">new node to replace oldChild. If it already exists in the DOM, it is first removed.</param>
 /// <param name="oldChild">the existing child to be replaced.</param>
 /// <returns>the replaced node. This is the same node as oldChild.</returns>
 public virtual Node ReplaceChild(Node newChild, Node oldChild)
 {
     return null;
 }
Exemple #6
0
 public static void DirXml(Node node)
 {
 }
Exemple #7
0
 /// <summary>
 /// Indicates whether a node is a descendant of a given node.
 /// </summary>
 /// <param name="node">is the node that's being compared against.</param>
 /// <returns>The return value is true if otherNode is a descendant of node, or node itself. Otherwise the return value is false.</returns>
 public virtual bool Contains(Node node)
 {
     return false;
 }
Exemple #8
0
 /// <summary>
 /// Sets the end position of a Range relative to another Node.
 /// </summary>
 /// <param name="referenceNode">The Node to end the Range after.</param>
 public virtual void SetEndAfter(Node referenceNode)
 {
 }
Exemple #9
0
 /// <summary>
 /// Sets the end position of a Range relative to another Node.
 /// </summary>
 /// <param name="referenceNode">The Node to end the Range before.</param>
 public virtual void SetEndBefore(Node referenceNode)
 {
 }
Exemple #10
0
 /// <summary>
 /// Sets the Range to contain the contents of a Node.
 /// </summary>
 /// <param name="referenceNode">The Node whose contents will be selected within a Range.</param>
 public virtual void SelectNodeContents(Node referenceNode)
 {
 }
Exemple #11
0
 /// <summary>
 /// Sets the end position of a Range.
 /// </summary>
 /// <param name="endNode">The Node where the Range should end.</param>
 /// <param name="endOffset">An integer greater than or equal to zero representing the offset for the end of the Range from the start of endNode.</param>
 public virtual void SetEnd(Node endNode, int endOffset)
 {
 }
Exemple #12
0
 /// <summary>
 /// Sets the Range to contain the Node and its contents.
 /// </summary>
 /// <param name="referenceNode">The Node to select within a Range.</param>
 public virtual void SelectNode(Node referenceNode)
 {
 }
Exemple #13
0
 /// <summary>
 /// Returns a boolean indicating whether the given point is in the Range.
 /// </summary>
 /// <param name="referenceNode">The Node to compare with the Range.</param>
 /// <param name="offset">The offset into Node of the point to compare with the Range.</param>
 /// <returns></returns>
 public virtual bool IsPointInRange(Node referenceNode, int offset)
 {
     return false;
 }
Exemple #14
0
 /// <summary>
 /// Returns a boolean indicating whether the given node intersects the Range.
 /// </summary>
 /// <param name="referenceNode">The Node to compare with the Range.</param>
 /// <returns></returns>
 public virtual bool IntersectsNode(Node referenceNode)
 {
     return false;
 }
Exemple #15
0
 /// <summary>
 /// Collapses the current selection to a single point. The document is not modified. If the content is focused and editable, the caret will blink there.
 /// </summary>
 /// <param name="parentNode">The caret location will be within this node.</param>
 /// <param name="offset">0 - Collapses the selection from the anchor to the beginning of parentNode's text. 1 - Collapses the selection from the anchor to the end of parentNode's text.</param>
 public virtual void Collapse(Node parentNode, byte offset)
 {
 }
Exemple #16
0
 /// <summary>
 /// Sets the start position of a Range.
 /// </summary>
 /// <param name="startNode">The Node where the Range should start.</param>
 /// <param name="startOffset">An integer greater than or equal to zero representing the offset for the start of the Range from the start of startNode.</param>
 public virtual void SetStart(Node startNode, int startOffset)
 {
 }
Exemple #17
0
 /// <summary>
 /// Indicates if the node is part of the selection.
 /// </summary>
 /// <param name="node">The node that is being looked for whether it is part of the selection</param>
 /// <param name="partlyContained">When true , containsNode returns true when a part of the node is part of the selection. When false , containsNode only returns true when the entire node is part of the selection.</param>
 /// <returns></returns>
 public virtual bool ContainsNode(Node node, bool partlyContained)
 {
     return false;
 }
Exemple #18
0
 /// <summary>
 /// Sets the start position of a Range relative to another Node.
 /// </summary>
 /// <param name="referenceNode">The Node to start the Range after.</param>
 public virtual void SetStartAfter(Node referenceNode)
 {
 }
Exemple #19
0
 /// <summary>
 /// Compares the position of the current node against another node in any other document.
 /// </summary>
 /// <param name="node">is the node that's being compared against.</param>
 /// <returns>The return value is computed as the relationship that otherNode has with node.</returns>
 public virtual DocumentPosition CompareDocumentPosition(Node node)
 {
     return default(DocumentPosition);
 }
Exemple #20
0
 /// <summary>
 /// Sets the start position of a Range relative to another Node.
 /// </summary>
 /// <param name="referenceNode">The Node before which the Range should start.</param>
 public virtual void SetStartBefore(Node referenceNode)
 {
 }
Exemple #21
0
 /// <summary>
 /// Inserts the specified node before a reference element as a child of the current node.
 /// </summary>
 /// <param name="newElement">The node to insert.</param>
 /// <param name="referenceElement">The node before which newElement is inserted.</param>
 /// <returns>The node being inserted, that is newElement</returns>
 public virtual Node InsertBefore(Node newElement, Node referenceElement)
 {
     return null;
 }
Exemple #22
0
 /// <summary>
 /// Moves content of a Range into a new Node.
 /// </summary>
 /// <param name="newParent">A Node to split based on the range.</param>
 public virtual void SurroundContents(Node newParent)
 {
 }
Exemple #23
0
 /// <summary>
 /// Removes a child node from the DOM. Returns removed node.
 /// </summary>
 /// <param name="child">child node to be removed from the DOM.</param>
 /// <returns>Reference to the removed child node</returns>
 public virtual Node RemoveChild(Node child)
 {
     return null;
 }
Exemple #24
0
 public static extern void DirXml(Node node);
Exemple #25
0
 /// <summary>
 /// Adds a node to the end of the list of children of a specified parent node. If the node already exists it is removed from current parent node, then added to new parent node.
 /// </summary>
 /// <param name="child">child is the node to append underneath element. Also returned.</param>
 /// <returns></returns>
 public virtual Node AppendChild(Node child)
 {
     return null;
 }
Exemple #26
0
 /// <summary>
 /// Moves the focus of the selection to a specified point. The anchor of the selection does not move. The selection will be from the anchor to the new focus regardless of direction.
 /// </summary>
 /// <param name="parentNode">The node within which the focus will be moved.</param>
 /// <param name="offset">The offset position within parentNode where the focus will be moved to.</param>
 public virtual void Extend(Node parentNode, byte offset)
 {
 }
 public OrbitControls(Camera camera, Node node = null)
 {
 }
Exemple #28
0
 /// <summary>
 /// Adds all the children of the specified node to the selection. Previous selection is lost.
 /// </summary>
 /// <param name="parentNode">All children of parentNode will be selected. parentNode itself is not part of the selection.</param>
 public virtual void SelectAllChildren(Node parentNode)
 {
 }
 public TrackballControls(Camera camera, Node node = null)
 {
 }
Exemple #30
0
 /// <summary>
 /// Returns -1, 0, or 1 indicating whether the point occurs before, inside, or after the Range.
 /// </summary>
 /// <param name="referenceNode">The Node to compare with the Range.</param>
 /// <param name="offset">An integer greater than or equal to zero representing the offset inside the referenceNode.</param>
 /// <returns>returns -1, 0, or 1 depending on whether the referenceNode is before, the same as, or after the Range.</returns>
 public virtual int ComparePoint(Node referenceNode, int offset)
 {
     return 0;
 }