Instance Method

sendAction

If the selected cell has both an action and a target, sends its action to its target.

Declaration

- (BOOL)sendAction;

Return Value

YES if an action was successfully sent to a target. If the selected cell is disabled, this method does nothing and returns NO.

Discussion

If the cell has an action but no target, its action is sent to the target of the receiver. If the cell doesn’t have an action, or if there is no selected cell, the receiver sends its own action to its target.

See Also

Managing and Sending Action Messages

- sendAction:to:forAllCells:

Iterates through the cells in the receiver, sending the specified selector to an object for each cell.

doubleAction

The action sent to the target of the receiver when the user double-clicks a cell.

- sendDoubleAction

Sends the double-click action message to the target of the receiver.