Class TWizardNavigationButtonStyle
TWizardNavigationButtonStyle class.
TWizardNavigationButtonStyle defines the style applied to a wizard navigation button. The button type can be specified via ButtonType, which can be 'Button', 'Image' or 'Link'. If the button is an image button, ImageUrl will be used to load the image for the button. Otherwise, ButtonText will be displayed as the button caption.
| Method Summary |
|
void
|
Applies this style to the specified button
|
|
void
|
Copies the fields in a new style to this style.
|
|
string
|
|
|
TWizardNavigationButtonType
|
|
|
string
|
|
|
void
|
Merges the style with a new one.
|
|
void
|
Sets the style attributes to default values.
|
|
void
|
|
|
void
|
|
|
void
|
|
| Methods Inherited From TStyle |
|
TStyle::addAttributesToRender(), TStyle::clearStyleField(), TStyle::copyFrom(), TStyle::getBackColor(), TStyle::getBorderColor(), TStyle::getBorderStyle(), TStyle::getBorderWidth(), TStyle::getCssClass(), TStyle::getCustomStyle(), TStyle::getDisplayStyle(), TStyle::getFont(), TStyle::getForeColor(), TStyle::getHeight(), TStyle::getStyleField(), TStyle::getStyleFields(), TStyle::getWidth(), TStyle::hasCssClass(), TStyle::hasFont(), TStyle::hasStyleField(), TStyle::mergeWith(), TStyle::reset(), TStyle::setBackColor(), TStyle::setBorderColor(), TStyle::setBorderStyle(), TStyle::setBorderWidth(), TStyle::setCssClass(), TStyle::setCustomStyle(), TStyle::setDisplayStyle(), TStyle::setForeColor(), TStyle::setHeight(), TStyle::setStyleField(), TStyle::setWidth(), TStyle::__clone()
|
| Methods Inherited From TComponent |
|
TComponent::addParsedObject(), TComponent::attachEventHandler(), TComponent::canGetProperty(), TComponent::canSetProperty(), TComponent::createdOnTemplate(), TComponent::detachEventHandler(), TComponent::evaluateExpression(), TComponent::evaluateStatements(), TComponent::getEventHandlers(), TComponent::getSubProperty(), TComponent::hasEvent(), TComponent::hasEventHandler(), TComponent::hasProperty(), TComponent::raiseEvent(), TComponent::setSubProperty(), TComponent::__get(), TComponent::__set()
|
| Method Details |
apply
| public void apply |
(mixed $button ) |
Applies this style to the specified button
| Input |
| mixed | $button | button to be applied with this style |
| Output |
| Exception |
|
copyFrom
| public void copyFrom |
(TStyle $style ) |
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.
| Input |
| TStyle | $style | the new style |
| Output |
| Exception |
|
getButtonText
| public string getButtonText |
() |
| Output |
|
string
| button caption |
| Exception |
|
getButtonType
|
getImageUrl
| public string getImageUrl |
() |
| Output |
|
string
| image URL for the image button |
| Exception |
|
mergeWith
| public void mergeWith |
(TStyle $style ) |
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.
| Input |
| TStyle | $style | the new style |
| Output |
| Exception |
|
reset
Sets the style attributes to default values.
This method overrides the parent implementation by resetting additional TWizardNavigationButtonStyle specific attributes.
|
setButtonText
| public void setButtonText |
(string $value ) |
| Input |
| string | $value | button caption |
| Output |
| Exception |
|
setButtonType
|
setImageUrl
| public void setImageUrl |
(string $value ) |
| Input |
| string | $value | image URL for the image button |
| Output |
| Exception |
|
|