blob: e592c9770ea0de3f732d1c93b31c4a19681c131c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
{ Parsed from Webkit.framework DOMElement.h }
{ Version: 2.1.4 - Sun Jan 2 15:08:41 CET 2011 }
{$ifdef TYPES}
{$ifndef DOMELEMENT_PAS_T}
{$define DOMELEMENT_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef DOMELEMENT_PAS_R}
{$define DOMELEMENT_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef DOMELEMENT_PAS_F}
{$define DOMELEMENT_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef DOMELEMENT_PAS_S}
{$define DOMELEMENT_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
DOMElement = objcclass;
DOMElementPointer = ^DOMElement;
DOMElementPtr = DOMElementPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef DOMELEMENT_PAS_C}
{$define DOMELEMENT_PAS_C}
{ DOMElement }
DOMElement = objcclass external (DOMNode)
public
function tagName: NSString; message 'tagName';
function style: DOMCSSStyleDeclaration; message 'style';
function offsetLeft: cint; message 'offsetLeft';
function offsetTop: cint; message 'offsetTop';
function offsetWidth: cint; message 'offsetWidth';
function offsetHeight: cint; message 'offsetHeight';
function offsetParent: DOMElement; message 'offsetParent';
function clientLeft: cint; message 'clientLeft';
function clientTop: cint; message 'clientTop';
function clientWidth: cint; message 'clientWidth';
function clientHeight: cint; message 'clientHeight';
procedure setScrollLeft (newValue: cint); message 'setScrollLeft:';
function scrollLeft: cint; message 'scrollLeft';
procedure setScrollTop (newValue: cint); message 'setScrollTop:';
function scrollTop: cint; message 'scrollTop';
function scrollWidth: cint; message 'scrollWidth';
function scrollHeight: cint; message 'scrollHeight';
function firstElementChild: DOMElement; message 'firstElementChild';
function lastElementChild: DOMElement; message 'lastElementChild';
function previousElementSibling: DOMElement; message 'previousElementSibling';
function nextElementSibling: DOMElement; message 'nextElementSibling';
function childElementCount: cuint; message 'childElementCount';
function innerText: NSString; message 'innerText';
function getAttribute(name: NSString): NSString; message 'getAttribute:';
procedure setAttribute_value(name: NSString; value: NSString); message 'setAttribute:value:';
procedure removeAttribute(name: NSString); message 'removeAttribute:';
function getAttributeNode(name: NSString): DOMAttr; message 'getAttributeNode:';
function setAttributeNode(newAttr: DOMAttr): DOMAttr; message 'setAttributeNode:';
function removeAttributeNode(oldAttr: DOMAttr): DOMAttr; message 'removeAttributeNode:';
function getElementsByTagName(name: NSString): DOMNodeList; message 'getElementsByTagName:';
function getAttributeNS_localName(namespaceURI_: NSString; localName_: NSString): NSString; message 'getAttributeNS:localName:';
procedure setAttributeNS_qualifiedName_value(namespaceURI_: NSString; qualifiedName: NSString; value: NSString); message 'setAttributeNS:qualifiedName:value:';
procedure removeAttributeNS_localName(namespaceURI_: NSString; localName_: NSString); message 'removeAttributeNS:localName:';
function getElementsByTagNameNS_localName(namespaceURI_: NSString; localName_: NSString): DOMNodeList; message 'getElementsByTagNameNS:localName:';
function getAttributeNodeNS_localName(namespaceURI_: NSString; localName_: NSString): DOMAttr; message 'getAttributeNodeNS:localName:';
function setAttributeNodeNS(newAttr: DOMAttr): DOMAttr; message 'setAttributeNodeNS:';
function hasAttribute(name: NSString): Boolean; message 'hasAttribute:';
function hasAttributeNS_localName(namespaceURI_: NSString; localName_: NSString): Boolean; message 'hasAttributeNS:localName:';
procedure focus; message 'focus';
procedure blur; message 'blur';
procedure scrollIntoView(alignWithTop: Boolean); message 'scrollIntoView:';
function contains(element: DOMElement): Boolean; message 'contains:';
procedure scrollIntoViewIfNeeded(centerIfNeeded: Boolean); message 'scrollIntoViewIfNeeded:';
procedure scrollByLines(lines: cint); message 'scrollByLines:';
procedure scrollByPages(pages: cint); message 'scrollByPages:';
function getElementsByClassName(name: NSString): DOMNodeList; message 'getElementsByClassName:';
function querySelector(selectors: NSString): DOMElement; message 'querySelector:';
function querySelectorAll(selectors: NSString): DOMNodeList; message 'querySelectorAll:';
end;
{ DOMElementDeprecatedCategory }
DOMElementDeprecatedCategory = objccategory external (DOMElement)
procedure setAttribute(name: NSString; value: NSString); message 'setAttribute:name:';
function getAttributeNS(namespaceURI_: NSString; localName_: NSString): NSString; message 'getAttributeNS:namespaceURI:';
procedure setAttributeNS(namespaceURI_: NSString; qualifiedName: NSString; value: NSString); message 'setAttributeNS:namespaceURI:qualifiedName:';
procedure removeAttributeNS(namespaceURI_: NSString; localName_: NSString); message 'removeAttributeNS:namespaceURI:';
function getElementsByTagNameNS(namespaceURI_: NSString; localName_: NSString): DOMNodeList; message 'getElementsByTagNameNS:namespaceURI:';
function getAttributeNodeNS(namespaceURI_: NSString; localName_: NSString): DOMAttr; message 'getAttributeNodeNS:namespaceURI:';
function hasAttributeNS(namespaceURI_: NSString; localName_: NSString): Boolean; message 'hasAttributeNS:namespaceURI:';
end;
{$endif}
{$endif}
|