[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

 

LTableMultiSelector



Overview:

LTableMultiSelector is a concrete implementation of LTableSelector to support a table where multiple cells may be selected. This class supports discontiguous selection.

Methods :

The methods in this class are:

 

LTableMultiSelector()  
~LTableMultiSelector()  
CellIsSelected()  
ClickSelect()  
DragSelect()  
GetFirstSelectedCell()  
GetFirstSelectedRow()  
InsertCols()  
InsertRows()  
RemoveCols()  
RemoveRows()  
SelectAllCells()  
SelectCell()  
SelectCellBlock()  
UnselectAllCells()  
UnselectCell()  

Data Members:

The data members in this class are:

 

mSelectionRgn  
mAnchorCell  

Operation:

This class only adds one new method, SelectCellBlock().

Source files:

(Table Classes)

LTableMultiSelector.h

LTableMultiSelector.cp

See also:

LTableSelector

LTableMultiSelector()

Purpose:

The constructor creates the object.

Access :

Public

Prototype:

LTableMultiSelector( LTableView	*inTableView);

~LTableMultiSelector()

Purpose:

The destructor destroys the object.

Access :

Virtual, Public

Prototype:

virtual ~LTableMultiSelector();

CellIsSelected()

Purpose:

This is an override of CellIsSelected() in LTableSelector.

ClickSelect()

Purpose:

This is an override of ClickSelect() in LTableSelector.

DragSelect()

Purpose:

This is an override of DragSelect() in LTableSelector.

GetFirstSelectedCell()

Purpose:

This is an override of GetFirstSelectedCell() in LTableSelector.

GetFirstSelectedRow()

Purpose:

This is an override of GetFirstSelectedRow() in LTableSelector.

InsertCols()

Purpose:

This is an override of InsertCols() in LTableSelector.

InsertRows()

Purpose:

This is an override of InsertRows() in LTableSelector.

RemoveCols()

Purpose:

This is an override of RemoveCols() in LTableSelector.

RemoveRows()

Purpose:

This is an override of RemoveRows() in LTableSelector.

SelectAllCells()

Purpose:

This is an override of SelectAllCells() in LTableSelector.

SelectCell()

Purpose:

This is an override of SelectCell() in LTableSelector.

SelectCellBlock()

Purpose:

Select cells within the specified range, where CellA and CellB are the corners of a rectangular block of cells.

Access :

Virtual, Protected

Prototype:

virtual void SelectCellBlock(

	const STableCell	&inCellA,

	const STableCell	&inCellB );
Parameters:

This method has the following parameters:

 

STableCell&  
inCellA  
The first cell.  
STableCell&  
inCellB  
The last cell.  

Return:

None

UnselectAllCells()

Purpose:

This is an override of UnselectAllCells() in LTableSelector.

UnselectCell()

Purpose:

An override of UnselectCell() in LTableSelector.

mSelectionRgn

Purpose:

The selection region.

Access :

Protected

Prototype:

RgnHandle mSelectionRgn;

mAnchorCell

Purpose:

The anchor cell.

Access :

Protected

Prototype:

STableCell mAnchorCell;

 


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: July 21, 2000