JVCL Help:TJvBaseDataItems.InternalAdd

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Responsible for adding an item to the list.


Pascal

 procedureInternalAdd(Item: IJvDataItem); virtual; abstract;


Parameters

Parameters Description
Item: IJvDataItem Item to add to the list.


Description

InternalAdd is responsible for adding an item to the list. The method is declared abstract to allow descendants to determine how to store the item.
InternalAdd is called by the ItemAdd method when the item can be added. It doesn't have to notify consumers of the pending addition, nor of the completion afterwards. ItemAdd will perform those tasks. It is allowed to take additional steps before or after adding if so required (e.g. context specific lists may need to copy the list from the ancestor context first, before a change can be made).
InternalAdd should never be called from any other method than ItemAdd.


See Also

TJvBaseDataItems.InternalDelete, TJvBaseDataItems.InternalMove, TJvBaseDataItems.ItemAdd


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