JVCL Help:TJvHTMLElementStack

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

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvHTMLElementStack
run\JvMarkupCommon.pas


Summary

Stack-like container for HTML markup.

run\JvMarkupCommon.pas


Pascal

 run\JvMarkupCommon.pas
 TJvHTMLElementStack = class(TList);


Description

TJvHTMLElementStack is a TList descendant that implements a stack-like container for HTML markup found in the content for controls like TJvMarkupViewer and TJvMarkupLabel. TJvHTMLElementStack stores TJvHTMLElement instances created during parsing and rendering of HTML markup in the controls.
TJvHTMLElementStack has Push, Pop, and Peek methods that implement the behaviors of a stack container. The Push and Pop methods handle adding or removing a TJvHTMLElement instance for the stack. Peek is used to access the top of the stack without removing the TJvHTMLElement instance.
Use Clear to remove all TJvHTMLElement instances stored in the stack. Please note that TJvHTMLElementStack does not have any concept of ownership; the calling routine is responsible for freeing TJvHTMLElement instances stored in the stack.

run\JvMarkupCommon.pas


See Also

TJvHTMLElement, TJvMarkupViewer, TJvMarkupLabel

run\JvMarkupCommon.pas


About

Navigation

run\JvMarkupCommon.pas



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