Up

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 in:
AppKit/NSBox.h
Conforms to:
NSCoding
Standards:

Description forthcoming.


Instance Variables

Method summary

borderRect 

- (NSRect) borderRect;

Description forthcoming.


borderType 

- (NSBorderType) borderType;

Description forthcoming.


contentView 

- (id) contentView;

Description forthcoming.


contentViewMargins 

- (NSSize) contentViewMargins;

Description forthcoming.


minimumSize 

- (NSSize) minimumSize;

Description forthcoming.


setBorderType: 

- (void) setBorderType: (NSBorderType)aType;

Description forthcoming.


setContentView: 

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

Description forthcoming.


setContentViewMargins: 

- (void) setContentViewMargins: (NSSize)offsetSize;

Description forthcoming.


setFrameFromContentFrame: 

- (void) setFrameFromContentFrame: (NSRect)contentFrame;

Description forthcoming.


setTitle: 

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

Description forthcoming.


setTitleFont: 

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

Description forthcoming.


setTitlePosition: 

- (void) setTitlePosition: (NSTitlePosition)aPosition;

Description forthcoming.


setTitleWithMnemonic: 

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

Description forthcoming.


sizeToFit 

- (void) sizeToFit;

Description forthcoming.


title 

- (NSString*) title;

Description forthcoming.


titleCell 

- (id) titleCell;

Description forthcoming.


titleFont 

- (NSFont*) titleFont;

Description forthcoming.


titlePosition 

- (NSTitlePosition) titlePosition;

Description forthcoming.


titleRect 

- (NSRect) titleRect;

Description forthcoming.




Instance Variables for NSBox Class

_border_rect

@protected NSRect _border_rect;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_border_type

@protected NSBorderType _border_type;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_cell

@protected id _cell;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_content_view

@protected id _content_view;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_offsets

@protected NSSize _offsets;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_title_position

@protected NSTitlePosition _title_position;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_title_rect

@protected NSRect _title_rect;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.






Up