[ 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/ -> TPanelStyle.php (sommaire)

TPanelStyle class file

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

Définit 3 classes

TPanelStyle:: (14 méthodes):
  addAttributesToRender()
  getBackImageUrl()
  setBackImageUrl()
  getDirection()
  setDirection()
  getWrap()
  setWrap()
  getHorizontalAlign()
  setHorizontalAlign()
  getScrollBars()
  setScrollBars()
  reset()
  copyFrom()
  mergeWith()

TContentDirection:: (0 méthodes):

TScrollBars:: (0 méthodes):


Classe: TPanelStyle  - X-Ref

TPanelStyle class.
TPanelStyle represents the CSS style specific for panel HTML tag.

addAttributesToRender($writer)   X-Ref
Adds attributes related to CSS styles to renderer.
This method overrides the parent implementation.

param: THtmlWriter the writer used for the rendering purpose

getBackImageUrl()   X-Ref

return: string the URL of the background image for the panel component.

setBackImageUrl($value)   X-Ref
Sets the URL of the background image for the panel component.

param: string the URL

getDirection()   X-Ref

return: TContentDirection alignment of the content in the panel. Defaults to TContentDirection::NotSet.

setDirection($value)   X-Ref

param: TContentDirection alignment of the content in the panel.

getWrap()   X-Ref

return: boolean whether the content wraps within the panel. Defaults to true.

setWrap($value)   X-Ref
Sets the value indicating whether the content wraps within the panel.

param: boolean whether the content wraps within the panel.

getHorizontalAlign()   X-Ref

return: THorizontalAlign the horizontal alignment of the contents within the panel, defaults to THorizontalAlign::NotSet.

setHorizontalAlign($value)   X-Ref
Sets the horizontal alignment of the contents within the panel.

param: THorizontalAlign the horizontal alignment

getScrollBars()   X-Ref

return: TScrollBars the visibility and position of scroll bars in a panel control, defaults to TScrollBars::None.

setScrollBars($value)   X-Ref

param: TScrollBars the visibility and position of scroll bars in a panel control.

reset()   X-Ref
Sets the style attributes to default values.
This method overrides the parent implementation by
resetting additional TPanelStyle specific attributes.


copyFrom($style)   X-Ref
Copies the fields in a new style to this style.
If a style field is set in the new style, the corresponding field
in this style will be overwritten.

param: TStyle the new style

mergeWith($style)   X-Ref
Merges the style with a new one.
If a style field is not set in this style, it will be overwritten by
the new one.

param: TStyle the new style

Classe: TContentDirection  - X-Ref

TContentDirection class.
TContentDirection defines the enumerable type for the possible directions that a panel can be at.

The following enumerable values are defined:
- NotSet: the direction is not specified
- LeftToRight: content in a panel is left to right
- RightToLeft: content in a panel is right to left

Classe: TScrollBars  - X-Ref

TScrollBars class.
TScrollBars defines the enumerable type for the possible scroll bar mode
that a {@link TPanel} control could use.

The following enumerable values are defined:
- None: no scroll bars.
- Auto: scroll bars automatically appeared when needed.
- Both: show both horizontal and vertical scroll bars all the time.
- Horizontal: horizontal scroll bar only
- Vertical: vertical scroll bar only



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