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

TWizardNavigationButtonStyle defines the style applied to a wizard navigation button. The button type can be specified via {@link setButtonType ButtonType}, which can be 'Button', 'Image' or 'Link'. If the button is an image button, {@link setImageUrl ImageUrl} will be used to load the image for the button. Otherwise, {@link setButtonText ButtonText} will be displayed as the button caption.
부터: 3.0
저자: Qiang Xue ([email protected])
상속: extends TStyle
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
apply ( $button ) Applies this style to the specified button
copyFrom ( $style ) Copies the fields in a new style to this style.
getButtonText ( ) : string
getButtonType ( ) : TWizardNavigationButtonType
getImageUrl ( ) : string
mergeWith ( $style ) Merges the style with a new one.
reset ( ) Sets the style attributes to default values.
setButtonText ( $value )
setButtonType ( $value )
setImageUrl ( $value )

메소드 상세

apply() 공개 메소드

Applies this style to the specified button
public apply ( $button )

copyFrom() 공개 메소드

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

getButtonText() 공개 메소드

public getButtonText ( ) : string
리턴 string button caption

getButtonType() 공개 메소드

public getButtonType ( ) : TWizardNavigationButtonType
리턴 TWizardNavigationButtonType button type. Default to TWizardNavigationButtonType::Button.

getImageUrl() 공개 메소드

public getImageUrl ( ) : string
리턴 string image URL for the image button

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 TWizardNavigationButtonStyle specific attributes.
public reset ( )

setButtonText() 공개 메소드

public setButtonText ( $value )

setButtonType() 공개 메소드

public setButtonType ( $value )

setImageUrl() 공개 메소드

public setImageUrl ( $value )