Release 1.0  Copyright ©1996 by Scott Anguish.  All Rights Reserved.





MiscTree (Browser)




Declared In: <misckit/MiscTree.Browser.h>



Category Description

This category methods to the MiscTree class to allow a tree to be a delegate of a NXBrowser.  By default the type of browser support is a normal browser.  Currently the path separator is "/" and cannot configure itself from the NXBrowser's path separator. Many of the methods are named inaccurately for what they do.

Because this category implements browser:fillMatrix:inColumn: it is impossible to create a very lazy NXBrowser delegate from a MiscTree.



Method Types

Querying the browser - returnSelectedNode:
- returnSelectedPath:
Finding Children - pathToChild:
- pathToChild:level:
Browser Delegate Methods - browser:fillMatrix:inColumn:
Misceal - labelString



Instance Methods

browser:fillMatrix:inColumn:
-  (int)browser:sender fillMatrix:matrix inColumn:(int)column

This is the browser delegate method that is sent to a MiscTree node by an instance of NXBrowser. This implements a normal browser.

See also:  - browser:fillMatrix:inColumn: (NXBrowser)




labelString

labelString

Returns the a MiscString object that contains the label for the node.  This method should probably be in another category of MiscTree that contains more support for MiscString's.

See also:  - label (MiscTree)




pathToChild:

pathToChild:thePath

Returns a MiscTree instance that exists at the path designated by the MiscString thePath. The path separator for the NXBrowser must be '/'.

See also:  -  pathToChild:level:




pathToChild:level:

pathToChild:thePath level:(int)theLevel

Returns a MiscTree instance at the path specified by the MiscString thePath, starting at theLevel deep in the MiscTree structure. The path separator for the NXBrowser must be '/'.

See also:  -  pathToChild:

returnSelectedNode:

returnSelectedNode:theBrowser

Returns a MiscTree instance at the path specified by the MiscString thePath.

See also:  -  pathToChild:



returnSelectedPath:

returnSelectedPath:theBrowser

Returns a MiscTree instance at the path specified by the MiscString thePath.

See also:  -  pathToChild: