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

 

LTableMultiGeometry



Overview:

LTableMultiGeometry is a concrete implementation of LTableGeometry to support a table where rows and columns may vary in size.

Methods :

The methods in this class are:

 

LTableMultiGeometry()  
~LTableMultiGeometry()  
GetColHitBy()  
GetColWidth()  
GetImageCellBounds()  
GetRowHeight()  
GetRowHitBy()  
GetTableDimensions()  
InsertCols()  
InsertRows()  
RemoveCols()  
RemoveRows()  
SetColWidth()  
SetRowHeight()  

Data Members:

The data members in this class are:

 

mRowHeights  
mColWidths  
mDefaultRowHeight  
mDefaultColWidth  

Operation:

LTableMultiGeometry adds no new methods, but implements every method listed in LTableGeometry. The insert and remove of rows and columns methods maintain the arrays of heights and widths for the table.

Source files:

(Table Classes)

LTableMultiGeometry.h

LTableMultiGeometry.cp

See also:

LTableGeometry

LTableMultiGeometry()

Purpose:

The constructor creates the object.

Access :

Public

Prototype:

LTableMultiGeometry( LTableView		*inTableView,

	UInt16			inColWidth,

	UInt16			inRowHeight );
Parameters:

This method has the following parameters:

 

LTableView*  
inTableView  
A pointer to the table.  
UInt16  
inColWidth  
The column width.  
UInt16  
inRowHeight  
The row height.  

~LTableMultiGeometry()

Purpose:

The destructor destroys the object.

Access :

Virtual, Public

Prototype:

virtual ~LTableMultiGeometry();

GetColHitBy()

Purpose:

This is an override of GetColHitBy() in LTableGeometry.

GetColWidth()

Purpose:

This is an override of GetColWidth() in LTableGeometry.

GetImageCellBounds()

Purpose:

This is an override of GetImageCellBounds() in LTableGeometry.

GetRowHeight()

Purpose:

This is an override of GetRowHeight() in LTableGeometry.

GetRowHitBy()

Purpose:

This is an override of GetRowHitBy() in LTableGeometry.

GetTableDimensions()

Purpose:

This is an override of GetTableDimensions() in LTableGeometry.

InsertCols()

Purpose:

This is an override of InsertCols() in LTableGeometry.

InsertRows()

Purpose:

This is an override of InsertRows() in LTableGeometry.

RemoveCols()

Purpose:

This is an override of RemoveCols() in LTableGeometry.

RemoveRows()

Purpose:

This is an override of RemoveRows() in LTableGeometry.

SetColWidth()

Purpose:

This is an override of SetColWidth() in LTableGeometry.

SetRowHeight()

Purpose:

This is an override of SetRowHeight() in LTableGeometry.

mRowHeights

Purpose:

The height of rows.

Access :

Protected

Prototype:

LRunArray mRowHeights;

mColWidths

Purpose:

The width of columns.

Access :

Protected

Prototype:

LRunArray mColWidths;

mDefaultRowHeight

Purpose:

The default row height.

Access :

Protected

Prototype:

UInt16 mDefaultRowHeight;

mDefaultColWidth

Purpose:

The default column width.

Access :

Protected

Prototype:

UInt16 mDefaultColWidth;

 


[ 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