Class TWizardNavigationButtonStyle

Description

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.

  • since: 3.0
  • version: $Id: TWizard.php 1574 2006-12-15 16:09:53Z xue $
  • author: Qiang Xue <qiang.xue@gmail.com>

Located in /Web/UI/WebControls/TWizard.php (line 1433)

TComponent
   |
   --TStyle
      |
      --TWizardNavigationButtonStyle
Method Summary
void apply (mixed $button)
void copyFrom (TStyle $style)
string getButtonText ()
string getImageUrl ()
void mergeWith (TStyle $style)
void reset ()
void setButtonText (string $value)
void setImageUrl (string $value)
Methods
apply (line 1544)

Applies this style to the specified button

  • access: public
void apply (mixed $button)
  • mixed $button: button to be applied with this style
copyFrom (line 1458)

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.

  • access: public
void copyFrom (TStyle $style)
  • TStyle $style: the new style

Redefinition of:
TStyle::copyFrom()
Copies the fields in a new style to this style.
getButtonText (line 1511)
  • return: button caption
  • access: public
string getButtonText ()
getButtonType (line 1527)
  • return: button type. Default to TWizardNavigationButtonType::Button.
  • access: public
TWizardNavigationButtonType getButtonType ()
getImageUrl (line 1495)
  • return: image URL for the image button
  • access: public
string getImageUrl ()
mergeWith (line 1478)

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.

  • access: public
void mergeWith (TStyle $style)
  • TStyle $style: the new style

Redefinition of:
TStyle::mergeWith()
Merges the style with a new one.
reset (line 1444)

Sets the style attributes to default values.

This method overrides the parent implementation by resetting additional TWizardNavigationButtonStyle specific attributes.

  • access: public
void reset ()

Redefinition of:
TStyle::reset()
Resets the style to the original empty state.
setButtonText (line 1519)
  • access: public
void setButtonText (string $value)
  • string $value: button caption
setButtonType (line 1535)
  • access: public
void setButtonType (TWizardNavigationButtonType $value)
setImageUrl (line 1503)
  • access: public
void setImageUrl (string $value)
  • string $value: image URL for the image button

Inherited Methods

Inherited From TStyle

TStyle::__construct()
TStyle::addAttributesToRender()
TStyle::clearStyleField()
TStyle::copyFrom()
TStyle::getBackColor()
TStyle::getBorderColor()
TStyle::getBorderStyle()
TStyle::getBorderWidth()
TStyle::getCssClass()
TStyle::getCustomStyle()
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::setForeColor()
TStyle::setHeight()
TStyle::setStyleField()
TStyle::setWidth()
TStyle::__clone()

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()

Documentation generated on Sun, 14 Jan 2007 21:45:10 -0500 by phpDocumentor 1.3.0RC4