Class TidElements
Unit
xomElements
Declaration
type TidElements = class(TXOMClass)
Description
TidElements
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure AfterConstruction; override; |
|
|
 |
procedure BeforeDestruction; override; |
|
|
 |
procedure SortByProp (const APropNames: WideString; const ASortType: TSortType = stAscending); virtual; |
|
identical to SortByProperties
|
 |
procedure SortByProperties (const APropNames: WideString; const ASortType: TSortType = stAscending); virtual; |
|
sort the list based on the property values set in the elements. The APropNames can be a comma separated list of property names
|
 |
procedure Merge (AElems: TidElements); |
|
merge a class of TidElements with the this class
|
 |
function FindNamed (const AName: WideString): TidElement; |
|
find an element based on its name
|
 |
function FindNamed2 (const AName: WideString; const ARecursive: Boolean = True): TidElement; |
|
find an element based on its name in a hierarchy
|
 |
function FindPropValue (const AProperty: WideString; const AValue: Variant; ARecursive: Boolean = True): TidElement; |
|
find the elements that has a prop with specific value
|
 |
function FindValue (const AValue: Variant; const ARecursive: Boolean = False): TidElement; |
|
find an element based on its value
|
 |
function EnumValues (const AValue: Variant; AResult: TList; const ARecursive: Boolean = False): Boolean; |
|
enum all elements with a specific value
|
 |
function IndexFor (const AName: WideString): Integer; |
|
find the index of an Element
|
 |
function IndexOf (const AName: WideString): Integer; reintroduce; virtual; |
|
indentical to IndexFor
|
 |
function NameExists (const AName: WideString): Boolean; |
|
return wether a specific name exists
|
 |
function AddNamed (const AName: WideString): TidElement; |
|
add a named element
|
Properties
 |
property Items[Index:Integer]: TidElement read GetItem write SetItem; |
|
a list of items within this list
|
Generated by PasDoc 0.15.0.
|