Class TDataGridPagerStyle
TDataGridPagerStyle class.
TDataGridPagerStyle specifies the styles available for a datagrid pager.
| Methods Inherited From TPanelStyle |
|
TPanelStyle::addAttributesToRender(), TPanelStyle::copyFrom(), TPanelStyle::getBackImageUrl(), TPanelStyle::getDirection(), TPanelStyle::getHorizontalAlign(), TPanelStyle::getScrollBars(), TPanelStyle::getWrap(), TPanelStyle::mergeWith(), TPanelStyle::reset(), TPanelStyle::setBackImageUrl(), TPanelStyle::setDirection(), TPanelStyle::setHorizontalAlign(), TPanelStyle::setScrollBars(), TPanelStyle::setWrap()
|
| 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 |
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 |
|
getButtonType
|
getMode
|
getNextPageText
| public string getNextPageText |
() |
| Output |
|
string
| text for the next page button. Defaults to '>'. |
| Exception |
|
getPageButtonCount
| public integer getPageButtonCount |
() |
| Output |
|
integer
| maximum number of pager buttons to be displayed. Defaults to 10. |
| Exception |
|
getPosition
| Output |
|
TDataGridPagerPosition
| where the pager is to be displayed. Defaults to TDataGridPagerPosition::Bottom. |
| Exception |
|
getPrevPageText
| public string getPrevPageText |
() |
| Output |
|
string
| text for the previous page button. Defaults to '<'. |
| Exception |
|
getVisible
| public boolean getVisible |
() |
| Output |
|
boolean
| whether the pager is visible. 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
Resets the style to the original empty state.
|
setButtonType
|
setMode
|
setNextPageText
| public void setNextPageText |
(string $value ) |
| Input |
| string | $value | text for the next page button. |
| Output |
| Exception |
|
setPageButtonCount
| public void setPageButtonCount |
(integer $value ) |
| Input |
| integer | $value | maximum number of pager buttons to be displayed |
| Output |
| Exception |
| throws | TInvalidDataValueException if the value is less than 1. |
|
setPosition
|
setPrevPageText
| public void setPrevPageText |
(string $value ) |
| Input |
| string | $value | text for the next page button. |
| Output |
| Exception |
|
setVisible
| public void setVisible |
(boolean $value ) |
| Input |
| boolean | $value | whether the pager is visible. |
| Output |
| Exception |
|
|