JVCL Help:TJvInspectorRegister
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvInspectorRegister Class
[+] JvInspector.pas Classes
[+] TJvInspectorRegister Methods
[+] TJvInspectorRegister Properties
Search in JVCL Help
Search in all projectsClass Hierarchy
TJvInspectorRegister
run\JvInspector.pas
Summary
Inspector item registration database.
Pascal
run\JvInspector.pas
TJvInspectorRegister = class(TPersistent);
Description
TJvInspectorRegister is the item registration database. It provides a list of registration items which can searched for a match based on a data instance.
Each data layer can have its own registration database (but is not required to). Whenever a data instance gets created the following steps will occur:
- Calls the inspectors' AfterDataCreate event
- Locates the first available registration database. Because all data layers ultimately inherit fromTJvCustomInspectorData, a database will always be found.
- The registration database is searched for a match. The search is started with the last added item.If either no match or no perfect match has been found, the search is continued in the registration database of one of its parent classes, until no parent registration database is found or until a perfect match is located. In the end the best match result is returned.
- The inspectors' BeforeItemCreate event is called
- If a valid item class has been found, the item is created and the AfterItemCreate event is called.In addition, the registration items' ApplyDefaults method is called for the newly created item.
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page