[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/Web/UI/WebControls/ -> TTableRow.php (sommaire)

TTableRow and TTableCellCollection class file

Author: Qiang Xue <qiang.xue@gmail.com>
Copyright: Copyright © 2005 PradoSoft
License: http://www.pradosoft.com/license/
Version: $Id: TTableRow.php 1397 2006-09-07 07:55:53Z wei $
Poids: 209 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 3 classes

TTableRow:: (12 méthodes):
  getTagName()
  addParsedObject()
  createStyle()
  createControlCollection()
  getCells()
  getHorizontalAlign()
  setHorizontalAlign()
  getVerticalAlign()
  setVerticalAlign()
  getTableSection()
  setTableSection()
  renderContents()

TTableCellCollection:: (1 méthode):
  insertAt()

TTableRowSection:: (0 méthodes):


Classe: TTableRow  - X-Ref

TTableRow class.

TTableRow displays a table row. The table cells in the row can be accessed
via {@link getCells Cells}. The horizontal and vertical alignments of the row
are specified via {@link setHorizontalAlign HorizontalAlign} and
{@link setVerticalAlign VerticalAlign} properties, respectively.

getTagName()   X-Ref

return: string tag name for the table

addParsedObject($object)   X-Ref
Adds object parsed from template to the control.
This method adds only {@link TTableCell} objects into the {@link getCells Cells} collection.
All other objects are ignored.

param: mixed object parsed from template

createStyle()   X-Ref
Creates a style object for the control.
This method creates a {@link TTableItemStyle} to be used by the table row.

return: TStyle control style to be used

createControlCollection()   X-Ref
Creates a control collection object that is to be used to hold child controls

return: TTableCellCollection control collection

getCells()   X-Ref

return: TTableCellCollection list of {@link TTableCell} controls

getHorizontalAlign()   X-Ref

return: string the horizontal alignment of the contents within the table item, defaults to 'NotSet'.

setHorizontalAlign($value)   X-Ref
Sets the horizontal alignment of the contents within the table item.
Valid values include 'NotSet', 'Justify', 'Left', 'Right', 'Center'

param: string the horizontal alignment

getVerticalAlign()   X-Ref

return: string the vertical alignment of the contents within the table item, defaults to 'NotSet'.

setVerticalAlign($value)   X-Ref
Sets the vertical alignment of the contents within the table item.
Valid values include 'NotSet','Top','Bottom','Middle'

param: string the horizontal alignment

getTableSection()   X-Ref

return: TTableRowSection location of a row in a table. Defaults to TTableRowSection::Body.

setTableSection($value)   X-Ref

param: TTableRowSection location of a row in a table.

renderContents($writer)   X-Ref
Renders body contents of the table row

param: THtmlWriter writer for the rendering purpose

Classe: TTableCellCollection  - X-Ref

TTableCellCollection class.

TTableCellCollection is used to maintain a list of cells belong to a table row.

insertAt($index,$item)   X-Ref
Inserts an item at the specified position.
This overrides the parent implementation by performing additional
operations for each newly added table cell.

param: integer the speicified position.
param: mixed new item

Classe: TTableRowSection  - X-Ref

TTableRowSection class.
TTableRowSection defines the enumerable type for the possible table sections
that a {@link TTableRow} can be within.

The following enumerable values are defined:
- Header: in table header
- Body: in table body
- Footer: in table footer



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7