Class TTableItemStyle
TTableItemStyle class.
TTableItemStyle represents the CSS style specific for HTML table item.
Method Summary |
void
|
Adds attributes related to CSS styles to renderer.
|
void
|
Copies the fields in a new style to this style.
|
THorizontalAlign
|
|
TVerticalAlign
|
|
boolean
|
|
void
|
Merges the style with a new one.
|
void
|
Sets the style attributes to default values.
|
void
|
Sets the horizontal alignment of the contents within the table item.
|
void
|
Sets the vertical alignment of the contents within the table item.
|
void
|
Sets the value indicating whether the content wraps within the table item.
|
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 |
|
getHorizontalAlign
Output |
THorizontalAlign
| the horizontal alignment of the contents within the table item, defaults to THorizontalAlign::NotSet. |
Exception |
|
getVerticalAlign
Output |
TVerticalAlign
| the vertical alignment of the contents within the table item, defaults to TVerticalAlign::NotSet. |
Exception |
|
getWrap
public boolean getWrap |
() |
Output |
boolean
| whether the content wraps within the table item. 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 TTableItemStyle specific attributes.
|
setHorizontalAlign
Sets the horizontal alignment of the contents within the table item.
|
setVerticalAlign
Sets the vertical alignment of the contents within the table item.
|
setWrap
public void setWrap |
(boolean $value ) |
Sets the value indicating whether the content wraps within the table item.
Input |
boolean | $value | whether the content wraps within the panel. |
Output |
Exception |
|
|