DekGenius.com
[ Team LiB ] Previous Section Next Section

NSTextTab Mac OS X 10.0

This class is used by the class NSParagraphStyle to encapsulate information about a tab stop, such as alignment (left, right, center, etc.) and location of the stop relative to the alignment edge. To create a text tab object, use the method initWithType:location:. For more information on Cocoa's text handling infrastructure, see Chapter 5.

figs/cocn_15109.gif

@interface NSTextTab : NSObject <NSCoding, NSCopying>
 // Initializers
   - (id)initWithType:(NSTextTabType)type location:(float)loc;
 // Instance Methods
   - (float)location;
   - (NSTextTabType)tabStopType;
 // Methods Implementing NSCoding
   - (void)encodeWithCoder:(NSCoder *)aCoder;
   - (id)initWithCoder:(NSCoder *)aDecoder;
 // Methods Implementing NSCopying
   - (id)copyWithZone:(NSZone *)zone;

    [ Team LiB ] Previous Section Next Section