TreeForm Class Reference

A form for displaying a tree. More...

List of all members.

Public Member Functions

 TreeForm (ITree t, int maxHeight, IColorizer c)
 Contstructs a TreeForm displaying the given tree.
 TreeForm (ITree t, int maxHeight)
 Contstructs a TreeForm displaying the given tree.
 TreeForm (ITree t, int maxHeight, IColorizer c, Font fnt)
 Constructs a TreeForm displaying the given tree using the given Font.
 TreeForm (ITree t, int maxHeight, Font fnt)
 Constructs a TreeFrame displaying the given tree using the given Font.


Detailed Description

A form for displaying a tree.

TreeForm is a subclass of System.Windows.Forms.Form. This class provides a straightforward means for displaying a tree that implements ITree. The form contains scroll bars as needed to view the tree.

Author:
Rod Howell (rhowell@ksu.edu).
See also:
ITree

System.Windows.Forms.Form


Constructor & Destructor Documentation

TreeForm ( ITree  t,
int  maxHeight,
IColorizer  c 
)

Contstructs a TreeForm displaying the given tree.

The form is ready to be displayed.

Parameters:
t the tree to be displayed.
maxHeight the maximum height to be displayed
c the IColorizer to colorize the tree

TreeForm ( ITree  t,
int  maxHeight 
)

Contstructs a TreeForm displaying the given tree.

The form is ready to be displayed.

Parameters:
t the tree to be displayed.
maxHeight the maximum height to be displayed

TreeForm ( ITree  t,
int  maxHeight,
IColorizer  c,
Font  fnt 
)

Constructs a TreeForm displaying the given tree using the given Font.

The form is ready to be displayed.

Parameters:
t the tree to be displayed.
maxHeight the maximum height to be displayed
c the IColorizer to colorize the tree
fnt the Font to use
Exceptions:
NullReferenceException if fnt is null.
See also:
System.Drawing.Font

TreeForm ( ITree  t,
int  maxHeight,
Font  fnt 
)

Constructs a TreeFrame displaying the given tree using the given Font.

The frame has a meaningful initial size and is ready to be displayed.

Parameters:
t the tree to be displayed.
maxHeight the maximum height to be displayed
fnt the Font to use
Exceptions:
NullReferenceException if fnt is null.
See also:
System.Drawing.Font


Generated on Sun May 25 09:41:52 2008 by  doxygen 1.5.5