[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Fills the node list using the node filter.
Source position: laz2_dom.pas line 352
protected procedure TDOMNodeList.BuildList; virtual; |
BuildList is a virtual method used to get the TDOMNode instances in the node list. BuildList is called when the revision numbers for the node list and the node which owns the node list have different values. This ensures that the node list always reflects the current content in the DOM node hierarchy.
BuildList clears the internal TFPList instance where the DOM nodes are stored, and updates the internal revision number for the node list to match the value in the owner node. Child nodes for the owner node are visited, and the NodeFilter method is called to determine if the child node should be included in the node list. If the return value from NodeFilter indicates that recursion is allowed, the child nodes for each child node are also visited and examined.
Remark: | BuildList is marked as deprecated in TDOMNode. Use NodeFilter instead. |
|
Determines if the node can be used in the DOM node list. |
|
|
Gets the first child node for the current node. |
|
|
DOM node that is the immediate ancestor of this node. |
|
|
Determines the Node types included in a DOM node list. |
Version 3.2 | Generated 2024-02-25 | Home |