Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.
Platforms to show: All Mac Windows Linux Cross-Platform
DOMRangeMBS class
Super class: DOMObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
class | HTMLViewer Mac | MBS MacControls Plugin | 7.4 | Yes | No | No | Yes, macOS only | No |
Notes:
All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
Subclass of the DOMObjectMBS class.
This is a subclass of an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 24 methods
- method cloneContents as DOMDocumentFragmentMBS
- method cloneRange as DOMRangeMBS
- method collapse(toStart as boolean)
- method collapsed as boolean
- method commonAncestorContainer as DOMNodeMBS
- method compareBoundaryPoints(how as Integer, sourceRange as DOMRangeMBS) as Integer
- method deleteContents
- method detach
- method endContainer as DOMNodeMBS
- method endOffset as Integer
- method extractContents as DOMDocumentFragmentMBS
- method insertNode(newNode as DOMNodeMBS)
- method selectNode(refNode as DOMNodeMBS)
- method selectNodeContents(refNode as DOMNodeMBS)
- method setEnd(refNode as DOMNodeMBS, offset as Integer)
- method setEndAfter(refNode as DOMNodeMBS)
- method setEndBefore(refNode as DOMNodeMBS)
- method setStart(refNode as DOMNodeMBS, offset as Integer)
- method setStartAfter(refNode as DOMNodeMBS)
- method setStartBefore(refNode as DOMNodeMBS)
- method startContainer as DOMNodeMBS
- method startOffset as Integer
- method surroundContents(newParent as DOMNodeMBS)
- method toString as string
- 6 constants
- const DOM_BAD_BOUNDARYPOINTS_ERR = 1
- const DOM_END_TO_END = 2
- const DOM_END_TO_START = 3
- const DOM_INVALID_NODE_TYPE_ERR = 2
- const DOM_START_TO_END = 1
- const DOM_START_TO_START = 0
Super class DOMObjectMBS
- method sheet as DOMStyleSheetMBS
Super class WebScriptObjectMBS
- property Handle as Integer
- 9 methods
- method Constructor
- method evaluateWebScript(script as String) as Variant
- method getValue(name as String) as Variant
- method removeValue(name as String)
- method setValue(name as String, value as Variant)
- method setWebScriptCallback(name as String, value as WebScriptCallbackMBS)
- method setWebScriptValueAtIndex(index as Integer, value as Variant)
- method stringRepresentation as String
- method webScriptValueAtIndex(index as Integer) as Variant
This class has no sub classes.
Some methods using this class:
- DOMDocumentMBS.createRange as DOMRangeMBS
The items on this page are in the following plugins: MBS MacControls Plugin.
DOMProcessingInstructionMBS - DOMRectMBS
Links
MBS FileMaker Plugins