Up

# NSGridView documentation

### Authors

Generated by root

### Contents -

1. Software documentation for the NSGridCell class
2. Software documentation for the NSGridColumn class
3. Software documentation for the NSGridRow class
4. Software documentation for the NSGridView class

# Software documentation for the NSGridCell class

## NSGridCell : NSObject

> Declared in:
>   AppKit/NSGridView.h

> Conforms to:
>   NSCoding

Availability: Not in OpenStep/MacOS-X
Description forthcoming.

Instance Variables
Method summary

- +emptyContentView
- -column
- -contentView
- -customPlacementConstraints
- -row
- -rowAlignment
- -setContentView:
- -setCustomPlacementConstraints:
- -setRowAlignment:
- -setXPlacement:
- -setYPlacement:
- -xPlacement
- -yPlacement

### emptyContentView

+ (NSView*) emptyContentView;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### column

- (NSGridColumn*) column;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### contentView

- (NSView*) contentView;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### customPlacementConstraints

- (NSArray*) customPlacementConstraints;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### row

- (NSGridRow*) row;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### rowAlignment

- (NSGridRowAlignment) rowAlignment;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setContentView:

- (void) setContentView: (NSView*)v;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setCustomPlacementConstraints:

- (void) setCustomPlacementConstraints: (NSArray*)constraints;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setRowAlignment:

- (void) setRowAlignment: (NSGridRowAlignment)a;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setXPlacement:

- (void) setXPlacement: (NSGridCellPlacement)x;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setYPlacement:

- (void) setYPlacement: (NSGridCellPlacement)y;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### xPlacement

- (NSGridCellPlacement) xPlacement;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### yPlacement

- (NSGridCellPlacement) yPlacement;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

## Instance Variables for NSGridCell Class

### _contentView

@protected NSView* _contentView;
Availability: Not in OpenStep/MacOS-X
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.

### _customPlacementConstraints

@protected NSArray* _customPlacementConstraints;
Availability: Not in OpenStep/MacOS-X
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.

### _mergeHead

@protected id _mergeHead;
Availability: Not in OpenStep/MacOS-X
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.

### _owningColumn

@protected NSGridColumn* _owningColumn;
Availability: Not in OpenStep/MacOS-X
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.

### _owningRow

@protected NSGridRow* _owningRow;
Availability: Not in OpenStep/MacOS-X
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.

### _rowAlignment

@protected NSGridRowAlignment _rowAlignment;
Availability: Not in OpenStep/MacOS-X
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.

### _xPlacement

@protected NSGridCellPlacement _xPlacement;
Availability: Not in OpenStep/MacOS-X
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.

### _yPlacement

@protected NSGridCellPlacement _yPlacement;
Availability: Not in OpenStep/MacOS-X
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.

# Software documentation for the NSGridColumn class

## NSGridColumn : NSObject

> Declared in:
>   AppKit/NSGridView.h

> Conforms to:
>   NSCoding

Availability: Not in OpenStep/MacOS-X
Description forthcoming.

Instance Variables
Method summary

- -cellAtIndex:
- -gridView
- -isHidden
- -leadingPadding
- -mergeCellsInRange:
- -numberOfCells
- -setGridView:
- -setLeadingPadding:
- -setTrailingPadding:
- -setWidth:
- -setXPlacement:
- -trailingPadding
- -width
- -xPlacement

### cellAtIndex:

- (NSGridCell*) cellAtIndex: (NSInteger)index;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### gridView

- (NSGridView*) gridView;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### isHidden

- (BOOL) isHidden;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### leadingPadding

- (CGFloat) leadingPadding;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### mergeCellsInRange:

- (void) mergeCellsInRange: (NSRange)range;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### numberOfCells

- (NSInteger) numberOfCells;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setGridView:

- (void) setGridView: (NSGridView*)gv;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setLeadingPadding:

- (void) setLeadingPadding: (CGFloat)f;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setTrailingPadding:

- (void) setTrailingPadding: (CGFloat)f;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setWidth:

- (void) setWidth: (CGFloat)f;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setXPlacement:

- (void) setXPlacement: (NSGridCellPlacement)x;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### trailingPadding

- (CGFloat) trailingPadding;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### width

- (CGFloat) width;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### xPlacement

- (NSGridCellPlacement) xPlacement;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

## Instance Variables for NSGridColumn Class

### _gridView

@protected NSGridView* _gridView;
Availability: Not in OpenStep/MacOS-X
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.

### _isHidden

@protected BOOL _isHidden;
Availability: Not in OpenStep/MacOS-X
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.

### _leadingPadding

@protected CGFloat _leadingPadding;
Availability: Not in OpenStep/MacOS-X
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.

### _trailingPadding

@protected CGFloat _trailingPadding;
Availability: Not in OpenStep/MacOS-X
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.

### _width

@protected CGFloat _width;
Availability: Not in OpenStep/MacOS-X
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.

### _xPlacement

@protected NSGridCellPlacement _xPlacement;
Availability: Not in OpenStep/MacOS-X
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.

# Software documentation for the NSGridRow class

## NSGridRow : NSObject

> Declared in:
>   AppKit/NSGridView.h

> Conforms to:
>   NSCoding

Availability: Not in OpenStep/MacOS-X
Description forthcoming.

Instance Variables
Method summary

- -bottomPadding
- -cellAtIndex:
- -gridView
- -height
- -isHidden
- -mergeCellsInRange:
- -numberOfCells
- -setBottomPadding:
- -setGridView:
- -setHeight:
- -setTopPadding:
- -setYPlacement:
- -topPadding
- -yPlacement

### bottomPadding

- (CGFloat) bottomPadding;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### cellAtIndex:

- (NSGridCell*) cellAtIndex: (NSInteger)index;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### gridView

- (NSGridView*) gridView;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### height

- (CGFloat) height;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### isHidden

- (BOOL) isHidden;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### mergeCellsInRange:

- (void) mergeCellsInRange: (NSRange)range;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### numberOfCells

- (NSInteger) numberOfCells;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setBottomPadding:

- (void) setBottomPadding: (CGFloat)f;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setGridView:

- (void) setGridView: (NSGridView*)gridView;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setHeight:

- (void) setHeight: (CGFloat)f;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setTopPadding:

- (void) setTopPadding: (CGFloat)f;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setYPlacement:

- (void) setYPlacement: (NSGridCellPlacement)y;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### topPadding

- (CGFloat) topPadding;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### yPlacement

- (NSGridCellPlacement) yPlacement;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

## Instance Variables for NSGridRow Class

### _bottomPadding

@protected CGFloat _bottomPadding;
Availability: Not in OpenStep/MacOS-X
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.

### _gridView

@protected NSGridView* _gridView;
Availability: Not in OpenStep/MacOS-X
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.

### _height

@protected CGFloat _height;
Availability: Not in OpenStep/MacOS-X
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.

### _isHidden

@protected BOOL _isHidden;
Availability: Not in OpenStep/MacOS-X
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.

### _topPadding

@protected CGFloat _topPadding;
Availability: Not in OpenStep/MacOS-X
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.

### _yPlacement

@protected NSGridCellPlacement _yPlacement;
Availability: Not in OpenStep/MacOS-X
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.

# Software documentation for the NSGridView class

## NSGridView : NSView

> Declared in:
>   AppKit/NSGridView.h

Availability: Not in OpenStep/MacOS-X
Description forthcoming.

Instance Variables
Method summary

- +gridViewWithNumberOfColumns:rows:
- +gridViewWithViews:
- -addColumnWithViews:
- -addRowWithViews:
- -cellAtColumnIndex:rowIndex:
- -cellForView:
- -columnAtIndex:
- -columnSpacing
- -indexOfColumn:
- -indexOfRow:
- -insertColumnAtIndex:withViews:
- -insertRowAtIndex:withViews:
- -mergeCellsInHorizontalRange:verticalRange:
- -moveColumnAtIndex:toIndex:
- -moveRowAtIndex:toIndex:
- -numberOfColumns
- -numberOfRows
- -removeColumnAtIndex:
- -removeRowAtIndex:
- -rowAlignment
- -rowAtIndex:
- -rowSpacing
- -setColumnSpacing:
- -setRowAlignment:
- -setRowSpacing:
- -setXPlacement:
- -setYPlacement:
- -xPlacement
- -yPlacement

### gridViewWithNumberOfColumns: rows:

+ (instancetype) gridViewWithNumberOfColumns: (NSInteger)columnCount rows: (NSInteger)rowCount;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### gridViewWithViews:

+ (instancetype) gridViewWithViews: (NSArray*)views;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### addColumnWithViews:

- (NSGridColumn*) addColumnWithViews: (NSArray*)views;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### addRowWithViews:

- (NSGridRow*) addRowWithViews: (NSArray*)views;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### cellAtColumnIndex: rowIndex:

- (NSGridCell*) cellAtColumnIndex: (NSInteger)columnIndex rowIndex: (NSInteger)rowIndex;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### cellForView:

- (NSGridCell*) cellForView: (NSView*)view;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### columnAtIndex:

- (NSGridColumn*) columnAtIndex: (NSInteger)index;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### columnSpacing

- (CGFloat) columnSpacing;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### indexOfColumn:

- (NSInteger) indexOfColumn: (NSGridColumn*)column;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### indexOfRow:

- (NSInteger) indexOfRow: (NSGridRow*)row;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### insertColumnAtIndex: withViews:

- (NSGridColumn*) insertColumnAtIndex: (NSInteger)index withViews: (NSArray*)views;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### insertRowAtIndex: withViews:

- (NSGridRow*) insertRowAtIndex: (NSInteger)index withViews: (NSArray*)views;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### mergeCellsInHorizontalRange: verticalRange:

- (void) mergeCellsInHorizontalRange: (NSRange)hRange verticalRange: (NSRange)vRange;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### moveColumnAtIndex: toIndex:

- (void) moveColumnAtIndex: (NSInteger)fromIndex toIndex: (NSInteger)toIndex;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### moveRowAtIndex: toIndex:

- (void) moveRowAtIndex: (NSInteger)fromIndex toIndex: (NSInteger)toIndex;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### numberOfColumns

- (NSInteger) numberOfColumns;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### numberOfRows

- (NSInteger) numberOfRows;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### removeColumnAtIndex:

- (void) removeColumnAtIndex: (NSInteger)index;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### removeRowAtIndex:

- (void) removeRowAtIndex: (NSInteger)index;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### rowAlignment

- (NSGridRowAlignment) rowAlignment;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### rowAtIndex:

- (NSGridRow*) rowAtIndex: (NSInteger)index;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### rowSpacing

- (CGFloat) rowSpacing;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setColumnSpacing:

- (void) setColumnSpacing: (CGFloat)f;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setRowAlignment:

- (void) setRowAlignment: (NSGridRowAlignment)a;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setRowSpacing:

- (void) setRowSpacing: (CGFloat)f;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setXPlacement:

- (void) setXPlacement: (NSGridCellPlacement)x;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setYPlacement:

- (void) setYPlacement: (NSGridCellPlacement)y;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### xPlacement

- (NSGridCellPlacement) xPlacement;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### yPlacement

- (NSGridCellPlacement) yPlacement;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

## Instance Variables for NSGridView Class

### _cells

@protected NSMutableArray* _cells;
Availability: Not in OpenStep/MacOS-X
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.

### _columnSpacing

@protected CGFloat _columnSpacing;
Availability: Not in OpenStep/MacOS-X
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.

### _columns

@protected NSMutableArray* _columns;
Availability: Not in OpenStep/MacOS-X
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.

### _rowAlignment

@protected NSGridRowAlignment _rowAlignment;
Availability: Not in OpenStep/MacOS-X
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.

### _rowSpacing

@protected CGFloat _rowSpacing;
Availability: Not in OpenStep/MacOS-X
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.

### _rows

@protected NSMutableArray* _rows;
Availability: Not in OpenStep/MacOS-X
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.

### _xPlacement

@protected NSGridCellPlacement _xPlacement;
Availability: Not in OpenStep/MacOS-X
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.

### _yPlacement

@protected NSGridCellPlacement _yPlacement;
Availability: Not in OpenStep/MacOS-X
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