class: StepInfo

public class: StepInfo
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 7.12.2005 12:27:54; Modified: 12.12.2005 21:46:12;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {DF8F152B-3671-464f-A352-430F7586676A}
Window for show the step information when building a tree.

 

Goto: Fields, Methods

See also: DecTreeMethod, DecTreeSplitter, DecTreeMethod, DecisionTreeNode

Appears in: Algorithm classes

Connections
 
StepInfo Attributes
Attribute Details
private System.Windows.Forms.ListBox
  listBoxSplitters
private System.Windows.Forms.Label
  label1
private System.Windows.Forms.Label
  labelBest
private System.Windows.Forms.Label
  label3
private System.Windows.Forms.Button
  button1
private System.Windows.Forms.Button
  button2
private System.Windows.Forms.Button
  button3
private System.Windows.Forms.Label
  label4
private System.Windows.Forms.Label
  label5
private System.ComponentModel.IContainer
  components
Initial: null
private ArrayList
  splitters
Notes: The collection of actual splitters.

private DecTreeSplitter
  bestSplitter
Notes: The best splitter chosen by actual method.

private DecTreeMethod
  method
Notes: Actual method of building tree.

private DecisionTreeNode
  actualNode
Notes: Actual node.

private System.Windows.Forms.Label
  label2
private System.Windows.Forms.Label
  labelNode
private int
  depth
Notes: Actual depth of the actual node.

private System.Windows.Forms.Button
  button4
private int
  bestSplitterIndex
Notes: The index of the best splitter.

private System.Windows.Forms.RichTextBox
  richTextMethod
private System.Windows.Forms.RichTextBox
  descSplitter
public Point
  SavedLocation
Notes: Saved window location - some sugar for users.

 
StepInfo Methods
Operation Details
public
StepInfo():
Sequential
Notes: Constructor.
protected
Dispose(
   bool disposing):void
Sequential
Tags: override=true
Notes: Clean up any resources being used.
private
InitializeComponent():void
Sequential
Notes: Required method for Designer support - do not modify the contents of this method with the code editor.
public
SetInfo(
   DecTreeMethod method,
   ArrayList splitters,
   DecTreeSplitter bestSplitter,
   DecisionTreeNode actualNode,
   int depth):void
Sequential
Notes: Set all the parameters information to this instance. Fills the information into the window.
private
Fill():void
Sequential
Notes: Fills the information into the window.
private
DescribeSelectedSplitter():void
Sequential
Notes: Fills the apropriate text box with description of the selected splitter.
private
DescribeSplitter(
   DecTreeSplitter sp):string
Sequential
Notes: Gets a splitter description.

@returns
private
listBoxSplitters_SelectedIndexChanged(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Selected splitter has changed. Event. Changes the description.
private
button1_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: NextStep button. Closes window.
private
button2_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Cancel button. Closes window.
private
button3_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Run button. Closes window.
private
labelBest_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Event. Select the best splitter in the combobox.
private
button4_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Event. Select the best splitter in the combobox.
private
StepInfo_Closed(
   object sender,
   System.EventArgs e):void
Sequential
Notes: On closed window event. Saves a location of the window, due to restoring the window on the same place.