Operation |
Details |
public TreeCl(): |
|
public GetWindowSize():Size |
Notes: | get for property _windowSize
@returns actual window size | |
public GetDefaultWindowSize():Size |
Notes: | get for property _defaultWindowSize
@returns default window size | |
public GetWindowScale():Size |
Notes: | get for property _windowScale
@returns default window scale | |
public PaintTree( System.Windows.Forms.PaintEventArgs e):void |
Notes: | method that counts new nodes positions and calls their paint method | |
public InfoWindowFocus():void |
Notes: | set a focus to the InfoWindow | |
public InfoWindowClose():void |
Notes: | close the InfoWindow | |
public CountDefaultSizeOfControl():void |
Notes: | method counts default tree size according to scale and tree shape | |
public SetSizeOfControl( Size newSize):void |
Notes: | set method for _windowSize property | |
public SetDefaultSizeOfControl():void |
Notes: | sets _windowSize to a default window size | |
public SetWindowScale( Size newScale):void |
Notes: | set method for _windowScale property | |
public FindSelected( Point mousePosition):NodeCl |
Notes: | finds out if mouse clicked on any node
@returns found node or null | |
public ShowInfoWindow( NodeCl n):void |
Notes: | shows window with info about a node | |
public UpdateInfoWindow( NodeCl n):void |
Notes: | shows window with info about a node | |
private BuildTreeLevels():void |
Notes: | creates level structure from front | |
private BuildFront():ArrayList |
Notes: | builds front form tree structure
@returns front - list of FrontNodeCl objects | |