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

 

LTableMonoGeometry



Overview:

LTableMonoGeometry is a concrete implemantation of LTableGeometry to support a table where all cells are the same size.

Methods :

The methods in this class are:

 

LTableMonoGeometry()  
~LTableMonoGeometry()  
GetColHitBy()  
GetColWidth()  
GetImageCellBounds()  
GetRowHeight()  
GetRowHitBy()  
GetTableDimensions()  
SetColWidth()  
SetRowHeight()  

Data Members:

The data members in this class are:

 

mColWidth  
mRowHeight  

Operation:

This class adds no new member functions, but implements every pure virtual function listed in LTableGeometry.

Source files:

(Table Classes)

LTableMonoGeometry.h

LTableMonoGeometry.cp

See also:

LTableGeometry

LTableMonoGeometry()

Purpose:

The constructor creates the object.

Access :

Public

Prototype:

LTableMonoGeometry( 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.  

~LTableMonoGeometry()

Purpose:

The destructor destroys the object.

Access :

Virtual, Public

Prototype:

virtual		~LTableMonoGeometry();

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.

SetColWidth()

Purpose:

This is an override of SetColWidth() in LTableGeometry.

SetRowHeight()

Purpose:

This is an override of SetRowHeight() in LTableGeometry.

mColWidth

Purpose:

The width of columns.

Access :

Protected

Prototype:

UInt16 mColWidth;

mRowHeight

Purpose:

The height of rows.

Access :

Protected

Prototype:

UInt16 mRowHeight;

 


[ 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