NSBox

Authors

Scott Christley( scottc@net-community.com )
Simple box view that can display a border and title

Copyright: (C) 1996 Free Software Foundation, Inc.

Software documentation for the NSBox class

NSBox : NSView

Declared: AppKit/NSBox.h
Conform: NSCoding

borderRect

- (NSRect) borderRect;


borderType

- (NSBorderType) borderType;


contentView

- (id) contentView;


contentViewMargins

- (NSSize) contentViewMargins;


minimumSize

- (NSSize) minimumSize;


setBorderType:

- (void) setBorderType: (NSBorderType)aType;


setContentView:

- (void) setContentView: (NSView*)aView;


setContentViewMargins:

- (void) setContentViewMargins: (NSSize)offsetSize;


setFrameFromContentFrame:

- (void) setFrameFromContentFrame: (NSRect)contentFrame;


setTitle:

- (void) setTitle: (NSString*)aString;


setTitleFont:

- (void) setTitleFont: (NSFont*)fontObj;


setTitlePosition:

- (void) setTitlePosition: (NSTitlePosition)aPosition;


setTitleWithMnemonic:

- (void) setTitleWithMnemonic: (NSString*)aString;


sizeToFit

- (void) sizeToFit;


title

- (NSString*) title;


titleCell

- (id) titleCell;


titleFont

- (NSFont*) titleFont;


titlePosition

- (NSTitlePosition) titlePosition;


titleRect

- (NSRect) titleRect;