Class TPanelStyle
Direct Known Sub-classes:
TPanelStyle class.
TPanelStyle represents the CSS style specific for panel HTML tag.
Method Summary |
void
|
Adds attributes related to CSS styles to renderer.
|
void
|
Copies the fields in a new style to this style.
|
string
|
|
TContentDirection
|
|
THorizontalAlign
|
|
TScrollBars
|
|
boolean
|
|
void
|
Merges the style with a new one.
|
void
|
Sets the style attributes to default values.
|
void
|
Sets the URL of the background image for the panel component.
|
void
|
|
void
|
Sets the horizontal alignment of the contents within the panel.
|
void
|
|
void
|
Sets the value indicating whether the content wraps within the panel.
|
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 |
addAttributesToRender
public void addAttributesToRender |
(THtmlWriter $writer ) |
Adds attributes related to CSS styles to renderer.
This method overrides the parent implementation.
Input |
THtmlWriter | $writer | the writer used for the rendering purpose |
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 |
|
getBackImageUrl
public string getBackImageUrl |
() |
Output |
string
| the URL of the background image for the panel component. |
Exception |
|
getDirection
Output |
TContentDirection
| alignment of the content in the panel. Defaults to TContentDirection::NotSet. |
Exception |
|
getHorizontalAlign
Output |
THorizontalAlign
| the horizontal alignment of the contents within the panel, defaults to THorizontalAlign::NotSet. |
Exception |
|
getScrollBars
Output |
TScrollBars
| the visibility and position of scroll bars in a panel control, defaults to TScrollBars::None. |
Exception |
|
getWrap
public boolean getWrap |
() |
Output |
boolean
| whether the content wraps within the panel. Defaults to true. |
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 TPanelStyle specific attributes.
|
setBackImageUrl
public void setBackImageUrl |
(string $value ) |
Sets the URL of the background image for the panel component.
Input |
string | $value | the URL |
Output |
Exception |
|
setDirection
|
setHorizontalAlign
Sets the horizontal alignment of the contents within the panel.
|
setScrollBars
Input |
TScrollBars | $value | the visibility and position of scroll bars in a panel control. |
Output |
Exception |
|
setWrap
public void setWrap |
(boolean $value ) |
Sets the value indicating whether the content wraps within the panel.
Input |
boolean | $value | whether the content wraps within the panel. |
Output |
Exception |
|
|