Release 5.  Copyright ©1994-1998 by TipTop Software, Inc.  All Rights Reserved.





TTOBCCategory




Inherits From: NSObject
Declared In: <ObjBrowser/TTOBCCategory.h>




Class Description

Note that a "category" object is only required to implement the -stringValue method.  However, the TTOBCell's implementation of -populateArray:withSubcellsForCategory: actually delegates the creation of subcells to the category object -- the -populateArray:withSubcellsForCell: method is invoked.




Instance Variables

NSString *stringValue;


stringValue Category name.





Method Types

populateArray:withSubcellsForCell:
setStringValue:
stringValue




Instance Methods

populateArray:withSubcellsForCell:
  (void)populateArray:l
withSubcellsForCell:c

Loads list l with subcells for cell c.  This method is invoked from TTOBCell's -populateArray:withSubcellsForCategory: method.

See also:  - populateArray:withSubcellsForCategory:  (TTOBCell)




setStringValue:

  (void)setStringValue:(NSString *)n

Sets the string value, i.e., the category name.

See also:  -stringValue




stringValue

  (NSString *)stringValue

Returns the category name.  The name is displayed in the OB category popup buttons.

See also:  -setStringValue:




###