[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMNodeList

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements an ordered list of DOM Nodes.

Declaration

Source position: laz2_dom.pas line 344

type TDOMNodeList = class(TObject)

protected

  FNode: TDOMNode;

  FRevision: Integer;

  FList: TFPList;

  function GetCount;

  

Gets the value for the Count and Length properties.

  function GetItem();

  

Gets the value for the Item property.

  function NodeFilter(); virtual;

  

Determines if the node can be used in the DOM node list.

  procedure BuildList; virtual; deprecated ;

  

Fills the node list using the node filter.

public

  constructor Create();

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  property Item []: TDOMNode; default; [r]

  

Provides indexed access to DOM nodes in the list.

  property Count: LongWord; [r]

  

Number of DOM nodes stored in the list.

  property Length: LongWord; [r]

  

Number of DOM Nodes stored in the list.

end;

Inheritance

TDOMNodeList

  

Implements an ordered list of DOM Nodes.

|

TObject

Description

TDOMNodeList is a class used to Implement an ordered list of DOM nodes, as required in the DOM specification. TDOMNodeList provides internal storage for TDOMNode instances that are children of a specified DOM node. DOM nodes stored in TDOMNodeList are "live"; changes made to a DOM node in the list are automatically propagated to the DOM Document tree.

See also

TDOMNode.ParentNode

  

DOM node that is the immediate ancestor of this node.

TDOMNode.ChildNodes

  

Provides access to the list of Child nodes for the current node.


Version 3.2 Generated 2024-02-25 Home