NGridSelectionArea Class Reference

Inherits from UIView
Declared in NGridSelectionArea.h

Overview

The NGridSelectionArea class provides attributes and behavior for the grid selection.

  delegate

The object acts as selection delegate.

@property (nonatomic, assign) id<NGridSelectionDelegate> delegate

Declared In

NGridSelectionArea.h

  parentGrid

Related grid.

@property (nonatomic, assign) NGridView *parentGrid

Declared In

NGridSelectionArea.h

  type

Type of the selection.

@property (assign) NGridSelectionAreaType type

Declared In

NGridSelectionArea.h

  elementKey

Key of the selected row or column.

@property (assign) NSInteger elementKey

Declared In

NGridSelectionArea.h

  style

Style of the selection.

@property (readonly) NGridSelectionStyle *style

Declared In

NGridSelectionArea.h

+ createSelectionAreaForGrid:withStyle:withDelegate:

Creates selection area.

+ (NGridSelectionArea *)createSelectionAreaForGrid:(NGridView *)gridView withStyle:(NGridSelectionStyle *)style withDelegate:(id<NGridSelectionDelegate>)delegate

Parameters

gridView

Related grid view object.

style

Style for selection area.

delegate

Selection delegate.

Declared In

NGridSelectionArea.h

– showBalloons

Shows balloons on the edges of the selection area.

- (void)showBalloons

Declared In

NGridSelectionArea.h

– hideBalloons

Hides balloons on the edges of the selection area.

- (void)hideBalloons

Declared In

NGridSelectionArea.h

– isEmpty

Checks if selection area is empty.

- (BOOL)isEmpty

Declared In

NGridSelectionArea.h

– selectedRows

Return all currently selected rows.

- (NSArray *)selectedRows

Declared In

NGridSelectionArea.h

– selectedColumns

Return all currently selected columns.

- (NSArray *)selectedColumns

Declared In

NGridSelectionArea.h