Table of Contents

Class TreeBuilder<T>

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Abstract implementation of ITreeBuilder<T>.

public abstract class TreeBuilder<T> : ITreeBuilder<T>

Type Parameters

T
Inheritance
TreeBuilder<T>
Implements
Derived
Inherited Members

Constructors

TreeBuilder(bool)

Constructs base and initializes SupportsCanExpand

Properties

SupportsCanExpand

Returns true if CanExpand(T) is implemented by this class

Methods

CanExpand(T)

Override this method to return a rapid answer as to whether GetChildren(T) returns results. If you are implementing this method ensure you passed true in base constructor or set SupportsCanExpand

GetChildren(T)

Returns all children of a given forObject which should be added to the tree as new branches underneath it