[ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TTableCell class file
Author: | Qiang Xue <qiang.xue@gmail.com> |
Copyright: | Copyright © 2005 PradoSoft |
License: | http://www.pradosoft.com/license/ |
Version: | $Id: TTableCell.php 1486 2006-11-03 13:22:08Z xue $ |
Poids: | 197 lignes (5 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TTableCell:: (16 méthodes):
getTagName()
createStyle()
getHorizontalAlign()
setHorizontalAlign()
getVerticalAlign()
setVerticalAlign()
getColumnSpan()
setColumnSpan()
getRowSpan()
setRowSpan()
getWrap()
setWrap()
getText()
setText()
addAttributesToRender()
renderContents()
Classe: TTableCell - X-Ref
TTableCell class.getTagName() X-Ref |
return: string tag name for the table cell |
createStyle() X-Ref |
Creates a style object for the control. This method creates a {@link TTableItemStyle} to be used by the table cell. return: TStyle control style to be used |
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 |
getColumnSpan() X-Ref |
return: integer the columnspan for the table cell, 0 if not set. |
setColumnSpan($value) X-Ref |
Sets the columnspan for the table cell. param: integer the columnspan for the table cell, 0 if not set. |
getRowSpan() X-Ref |
return: integer the rowspan for the table cell, 0 if not set. |
setRowSpan($value) X-Ref |
Sets the rowspan for the table cell. param: integer the rowspan for the table cell, 0 if not set. |
getWrap() X-Ref |
return: boolean whether the text content wraps within a table cell. Defaults to true. |
setWrap($value) X-Ref |
Sets the value indicating whether the text content wraps within a table cell. param: boolean whether the text content wraps within a table cell. |
getText() X-Ref |
return: string the text content of the table cell. |
setText($value) X-Ref |
Sets the text content of the table cell. If the text content is empty, body content (child controls) of the cell will be rendered. param: string the text content |
addAttributesToRender($writer) X-Ref |
Adds attributes to renderer. param: THtmlWriter the renderer |
renderContents($writer) X-Ref |
Renders body contents of the table cell. param: THtmlWriter the writer used for the rendering purpose. |
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |