Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsITableCellLayout Class Reference

nsITableCellLayout interface for layout objects that act like table cells. More...

#include <nsITableCellLayout.h>

Inheritance diagram for nsITableCellLayout:
Inheritance graph
[legend]
Collaboration diagram for nsITableCellLayout:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD GetCellIndexes (PRInt32 &aRowIndex, PRInt32 &aColIndex)=0
 return the mapped cell's row and column indexes (starting at 0 for each)
virtual nsresult GetRowIndex (PRInt32 &aRowIndex) const =0
 return the mapped cell's row index (starting at 0 for the first row)
virtual nsresult GetColIndex (PRInt32 &aColIndex) const =0
 return the mapped cell's column index (starting at 0 for the first column)
NS_IMETHOD GetPreviousCellInColumn (nsITableCellLayout **aCellLayout)=0
 return the previous cell having the same column index as current cell returns null if no cell is present (but nsresult is still NS_OK)
NS_IMETHOD GetNextCellInColumn (nsITableCellLayout **aCellLayout)=0
 return the next cell having the same column index returns null if no cell is present (but nsresult is still NS_OK)

Detailed Description

nsITableCellLayout interface for layout objects that act like table cells.

Author:
sclark

Definition at line 53 of file nsITableCellLayout.h.


Member Function Documentation

NS_IMETHOD nsITableCellLayout::GetCellIndexes ( PRInt32 aRowIndex,
PRInt32 aColIndex 
) [pure virtual]

return the mapped cell's row and column indexes (starting at 0 for each)

Implemented in nsTableCellFrame.

Here is the caller graph for this function:

virtual nsresult nsITableCellLayout::GetColIndex ( PRInt32 aColIndex) const [pure virtual]

return the mapped cell's column index (starting at 0 for the first column)

Implemented in nsTableCellFrame.

Here is the caller graph for this function:

return the next cell having the same column index returns null if no cell is present (but nsresult is still NS_OK)

Implemented in nsTableCellFrame.

return the previous cell having the same column index as current cell returns null if no cell is present (but nsresult is still NS_OK)

Implemented in nsTableCellFrame.

virtual nsresult nsITableCellLayout::GetRowIndex ( PRInt32 aRowIndex) const [pure virtual]

return the mapped cell's row index (starting at 0 for the first row)

Implemented in nsTableCellFrame.


The documentation for this class was generated from the following file: