Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
ClassificationUnit
defines classes and procedures that are used to place objects in a TTreeView or TVirtualStringTree component in a way that reflects their classification.
Name | Description |
---|---|
Class TClassificationObject |
TClassificationObject is an abstract base class used in TClassificationList, and ClassifyListedObjects to arrange items in a hierarchical classification. |
Class TDummyClassification |
|
Class TClassificationList |
TClassificationList is a list of TClassificationObjects. |
record TClassificationNodeData |
procedure ClassifyListedObjects( const ClassificationList: TStringList; ClassificationObjects: TClassificationList; SpecialObjects: array of TClassificationList); |
procedure CreateClassifiedNodes(Classifications: TStringList; IndentationOffset: Integer; TreeView: TTreeView; const SelectedName: string); |
procedure CreateClassifiedVirtualNodes(Classifications: TStringList; IndentationOffset: Integer; TreeView: TVirtualStringTree; const SelectedName: string; DummyObjects: TList); |
function CompareStrings(List: TStringList; Index1, Index2: Integer): Integer; |
PClassificationNodeData = ˆTClassificationNodeData; |
procedure ClassifyListedObjects( const ClassificationList: TStringList; ClassificationObjects: TClassificationList; SpecialObjects: array of TClassificationList); |
Each member of SpecialObjects is a group of TClassificationObjects that must be classified in a special order that is different from alphabetical order. |
procedure CreateClassifiedNodes(Classifications: TStringList; IndentationOffset: Integer; TreeView: TTreeView; const SelectedName: string); |
|
procedure CreateClassifiedVirtualNodes(Classifications: TStringList; IndentationOffset: Integer; TreeView: TVirtualStringTree; const SelectedName: string; DummyObjects: TList); |
function CompareStrings(List: TStringList; Index1, Index2: Integer): Integer; |
PClassificationNodeData = ˆTClassificationNodeData; |