DekGenius.com
[ Team LiB ] Previous Section Next Section

NSWhoseSpecifier Mac OS X 10.0

This class represents the scripting language reference form used to specify a selection of objects within a collection that matches some provided boolean condition. NSWhoseSpecifier works in conjunction with a test object that represents the matching condition. This test object is an instance of a subclass of NSScriptWhoseTest.

figs/cocn_13119.gif

@interface NSWhoseSpecifier : NSScriptObjectSpecifier
 // Initializers
   - (id)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc        
        containerSpecifier:(NSScriptObjectSpecifier *)container key:(NSString *)property test:(NSScriptWhoseTest *)test;
 // Accessor Methods
   - (void)setStartSubelementIndex:(int)index;
   - (int)startSubelementIndex;
   - (void)setEndSubelementIndex:(int)index;
   - (int)endSubelementIndex;
   - (void)setEndSubelementIdentifier:(NSWhoseSubelementIdentifier)subelement;
   - (NSWhoseSubelementIdentifier)endSubelementIdentifier;
   - (void)setStartSubelementIdentifier:(NSWhoseSubelementIdentifier)subelement;
   - (NSWhoseSubelementIdentifier)startSubelementIdentifier;
   - (void)setTest:(NSScriptWhoseTest *)test;
   - (NSScglobal variables;iptWhoseTest *)test;

    [ Team LiB ] Previous Section Next Section