PHP 클래스 Prado\Web\UI\WebControls\TPanelStyle

TPanelStyle represents the CSS style specific for panel HTML tag.
부터: 3.0
저자: Qiang Xue ([email protected])
상속: extends TStyle
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
addAttributesToRender ( $writer ) Adds attributes related to CSS styles to renderer.
copyFrom ( $style ) Copies the fields in a new style to this style.
getBackImageUrl ( ) : string
getDirection ( ) : TContentDirection
getHorizontalAlign ( ) : THorizontalAlign
getScrollBars ( ) : TScrollBars
getWrap ( ) : boolean
mergeWith ( $style ) Merges the style with a new one.
reset ( ) Sets the style attributes to default values.
setBackImageUrl ( $value ) Sets the URL of the background image for the panel component.
setDirection ( $value )
setHorizontalAlign ( $value ) Sets the horizontal alignment of the contents within the panel.
setScrollBars ( $value )
setWrap ( $value ) Sets the value indicating whether the content wraps within the panel.

보호된 메소드들

메소드 설명
_getZappableSleepProps ( &$exprops ) Returns an array with the names of all variables of this object that should NOT be serialized because their value is the default one or useless to be cached for the next page loads.

메소드 상세

_getZappableSleepProps() 보호된 메소드

Reimplement in derived classes to add new variables, but remember to also to call the parent implementation first.
protected _getZappableSleepProps ( &$exprops )

addAttributesToRender() 공개 메소드

This method overrides the parent implementation.
public addAttributesToRender ( $writer )

copyFrom() 공개 메소드

If a style field is set in the new style, the corresponding field in this style will be overwritten.
public copyFrom ( $style )

getBackImageUrl() 공개 메소드

public getBackImageUrl ( ) : string
리턴 string the URL of the background image for the panel component.

getDirection() 공개 메소드

public getDirection ( ) : TContentDirection
리턴 TContentDirection alignment of the content in the panel. Defaults to TContentDirection::NotSet.

getHorizontalAlign() 공개 메소드

public getHorizontalAlign ( ) : THorizontalAlign
리턴 THorizontalAlign the horizontal alignment of the contents within the panel, defaults to THorizontalAlign::NotSet.

getScrollBars() 공개 메소드

public getScrollBars ( ) : TScrollBars
리턴 TScrollBars the visibility and position of scroll bars in a panel control, defaults to TScrollBars::None.

getWrap() 공개 메소드

public getWrap ( ) : boolean
리턴 boolean whether the content wraps within the panel. Defaults to true.

mergeWith() 공개 메소드

If a style field is not set in this style, it will be overwritten by the new one.
public mergeWith ( $style )

reset() 공개 메소드

This method overrides the parent implementation by resetting additional TPanelStyle specific attributes.
public reset ( )

setBackImageUrl() 공개 메소드

Sets the URL of the background image for the panel component.
public setBackImageUrl ( $value )

setDirection() 공개 메소드

public setDirection ( $value )

setHorizontalAlign() 공개 메소드

Sets the horizontal alignment of the contents within the panel.
public setHorizontalAlign ( $value )

setScrollBars() 공개 메소드

public setScrollBars ( $value )

setWrap() 공개 메소드

Sets the value indicating whether the content wraps within the panel.
public setWrap ( $value )