NSTabViewItem | Mac OS X 10.0 |
This class represents a single tabbed pane within a tab view object. NSTabView objects maintain an array of NSTabViewItem objects for each of its tabs. Associated with each tab view item is an identifier, a label that is drawn in the tab itself, and a view that contains the contents of the tab view item. For most simple uses of tab views, you won't have to interact with the NSTabView or NSTabViewItem APIs directly, as Interface Builder is capable of fully configuring a tab view.
@interface NSTabViewItem : NSObject <NSCoding>
|
// Initializers |
- (id)initWithIdentifier:(id)identifier; |
- (id)initialFirstResponder;
|
// Accessor Methods |
- (void)setColor:(NSColor *)color; |
- (NSColor *)color;
|
- (void)setLabel:(NSString *)label; |
- (NSString *)label;
|
- (void)setIdentifier:(id)identifier; |
- (id)identifier;
|
- (void)setInitialFirstResponder:(NSView *)view; |
- (void)setView:(NSView *)view; |
- (id)view;
|
// Instance Methods |
- (NSSize)sizeOfLabel:(BOOL)computeMin; |
- (NSTabState)tabState;
|
- (NSTabView *)tabView;
|
// Methods Implementing NSCoding |
- (void)encodeWithCoder:(NSCoder *)aCoder; |
- (id)initWithCoder:(NSCoder *)aDecoder; |