nsgenbind
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Range Interface Reference

import <dom.idl;

Public Member Functions

void setStart (Node node, unsigned long offset)
 
void setEnd (Node node, unsigned long offset)
 
void setStartBefore (Node node)
 
void setStartAfter (Node node)
 
void setEndBefore (Node node)
 
void setEndAfter (Node node)
 
void collapse (optional boolean toStart=false)
 
void selectNode (Node node)
 
void selectNodeContents (Node node)
 
short compareBoundaryPoints (unsigned short how, Range sourceRange)
 
void deleteContents ()
 
DocumentFragment extractContents ()
 
DocumentFragment cloneContents ()
 
void insertNode (Node node)
 
void surroundContents (Node newParent)
 
Range cloneRange ()
 
void detach ()
 
boolean isPointInRange (Node node, unsigned long offset)
 
short comparePoint (Node node, unsigned long offset)
 
boolean intersectsNode (Node node)
 

Public Attributes

readonly attribute Node startContainer
 
readonly attribute unsigned long startOffset
 
readonly attribute Node endContainer
 
readonly attribute unsigned long endOffset
 
readonly attribute boolean collapsed
 
readonly attribute Node commonAncestorContainer
 
const unsigned short START_TO_START = 0
 
const unsigned short START_TO_END = 1
 
const unsigned short END_TO_END = 2
 
const unsigned short END_TO_START = 3
 
 stringifier
 

Detailed Description

Definition at line 369 of file dom.idl.

Member Function Documentation

◆ cloneContents()

DocumentFragment Range::cloneContents ( )

◆ cloneRange()

Range Range::cloneRange ( )

◆ collapse()

void Range::collapse ( optional boolean  toStart = false)

◆ compareBoundaryPoints()

short Range::compareBoundaryPoints ( unsigned short  how,
Range  sourceRange 
)

◆ comparePoint()

short Range::comparePoint ( Node  node,
unsigned long  offset 
)

◆ deleteContents()

void Range::deleteContents ( )

◆ detach()

void Range::detach ( )

◆ extractContents()

DocumentFragment Range::extractContents ( )

◆ insertNode()

void Range::insertNode ( Node  node)

◆ intersectsNode()

boolean Range::intersectsNode ( Node  node)

◆ isPointInRange()

boolean Range::isPointInRange ( Node  node,
unsigned long  offset 
)

◆ selectNode()

void Range::selectNode ( Node  node)

◆ selectNodeContents()

void Range::selectNodeContents ( Node  node)

◆ setEnd()

void Range::setEnd ( Node  node,
unsigned long  offset 
)

◆ setEndAfter()

void Range::setEndAfter ( Node  node)

◆ setEndBefore()

void Range::setEndBefore ( Node  node)

◆ setStart()

void Range::setStart ( Node  node,
unsigned long  offset 
)

◆ setStartAfter()

void Range::setStartAfter ( Node  node)

◆ setStartBefore()

void Range::setStartBefore ( Node  node)

◆ surroundContents()

void Range::surroundContents ( Node  newParent)

Member Data Documentation

◆ collapsed

readonly attribute boolean Range::collapsed

Definition at line 374 of file dom.idl.

◆ commonAncestorContainer

readonly attribute Node Range::commonAncestorContainer

Definition at line 375 of file dom.idl.

◆ END_TO_END

const unsigned short Range::END_TO_END = 2

Definition at line 389 of file dom.idl.

◆ END_TO_START

const unsigned short Range::END_TO_START = 3

Definition at line 390 of file dom.idl.

◆ endContainer

readonly attribute Node Range::endContainer

Definition at line 372 of file dom.idl.

◆ endOffset

readonly attribute unsigned long Range::endOffset

Definition at line 373 of file dom.idl.

◆ START_TO_END

const unsigned short Range::START_TO_END = 1

Definition at line 388 of file dom.idl.

◆ START_TO_START

const unsigned short Range::START_TO_START = 0

Definition at line 387 of file dom.idl.

◆ startContainer

readonly attribute Node Range::startContainer

Definition at line 370 of file dom.idl.

◆ startOffset

readonly attribute unsigned long Range::startOffset

Definition at line 371 of file dom.idl.

◆ stringifier

Range::stringifier

Definition at line 407 of file dom.idl.


The documentation for this interface was generated from the following file: