class: NodeCl

public class: NodeCl
Author: Petra Vanícková
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 6.12.2005 16:36:31; Modified: 8.12.2005 23:00:52;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {58E97AB7-3189-4541-BAC1-79AF10DA099C}
Class represents node in graph which is painted on the control TreeControl

 

Goto: Fields, Methods

See also: TreeCl, FrontNodeCl, TreeControl, SetName

Appears in: CD Visualisation trees, networks

Connections
 
NodeCl Attributes
Attribute Details
public Point
  nodeCenter
Notes: used for painting into control

public Pen
  nodePen
Notes: which pen is used for node

public Pen
  nodePenSelected
Notes: which pen is used for node

public ArrayList
  nodeEdges
Notes: children nodes

public ArrayList
  nodeVisualData
Notes: data to be show n in info window

public string
  nodeCaption
Notes: text to be shown in control nexto the node

public bool
  selected
Notes: flag that determines if the node is selected

 
NodeCl Methods
Operation Details
public
NodeCl():
Notes: constructor for NodeCl
public
NodePaint(
   System.Windows.Forms.PaintEventArgs e):void
Notes: Paints the node on given graphics.
public
NodeSelected(
   Point mousePosition):bool
Notes: Searches for node, which was selected

@returns found a node or not
public
NodeAddVisualData(
   string dataName,
   string dataValue):void
Notes: interface for adding data,which are shown in info window
public
NodeClearVisualData():void
Notes: deletes all visual data 4 node