NGridCellUnion Class Reference

Inherits from NSObject
Declared in NGridCellUnion.h

Overview

The NGridCellUnion class is used to define cell unions. Cell unions include:

  • Primary cell – this cell stretches over the other cells in the union and should be the top left cell.
  • United cells – grid does not display these cells but they define the rectangle for the primary cell.

  primaryCellKey

Primary cell key.

@property (readonly) NGridCellKey *primaryCellKey

Discussion

Primary cell key is the key of top left cell that stretch over the other united cells.

Declared In

NGridCellUnion.h

  unitedCellKeys

Array of the cell keys included in this union.

@property (readonly) NSArray *unitedCellKeys

Declared In

NGridCellUnion.h

  unitedRowKeys

Array of the row keys included in this union.

@property (readonly) NSArray *unitedRowKeys

Declared In

NGridCellUnion.h

  unitedColumnKeys

Array of the column keys included in this union.

@property (readonly) NSArray *unitedColumnKeys

Declared In

NGridCellUnion.h

+ unionForCell:unitedWith:

Creates union object.

+ (NGridCellUnion *)unionForCell:(NGridCellKey *)cellKey unitedWith:(NSArray *)cellKeys

Parameters

cellKey

Key of the primary cell for this union.

cellKeys

Array with the cell keys included in this union.

Discussion

Cell keys order is significant in some cases. You should list cell keys in sequence when rows go in ascending order and columns in each rows go in ascending order too.

Declared In

NGridCellUnion.h