Method | Description | |
---|---|---|
__clone ( ) | Need to clone the font object. | |
__construct ( $style = null ) | Constructor. | |
addAttributesToRender ( $writer ) | Adds attributes related to CSS styles to renderer. | |
clearStyleField ( $name ) | Clears a single style field value; | |
copyFrom ( $style ) | Copies the fields in a new style to this style. | |
getBackColor ( ) : string | ||
getBorderColor ( ) : string | ||
getBorderStyle ( ) : string | ||
getBorderWidth ( ) : string | ||
getCssClass ( ) : string | ||
getCustomStyle ( ) : string | ||
getDisplayStyle ( ) : |
||
getFont ( ) : |
||
getForeColor ( ) : string | ||
getHeight ( ) : string | ||
getStyleField ( $name ) : string | ||
getStyleFields ( ) : array | ||
getWidth ( ) : string | ||
hasCssClass ( ) : boolean | ||
hasFont ( ) : boolean | ||
hasStyleField ( $name ) : boolean | ||
mergeWith ( $style ) | Merges the style with a new one. | |
reset ( ) | Resets the style to the original empty state. | |
setBackColor ( $value ) | ||
setBorderColor ( $value ) | ||
setBorderStyle ( $value ) | Sets the border style of the control. | |
setBorderWidth ( $value ) | ||
setCssClass ( $value ) | ||
setCustomStyle ( $value ) | Sets custom style fields from a string. | |
setDisplayStyle ( $value ) | ||
setForeColor ( $value ) | ||
setHeight ( $value ) | ||
setStyleField ( $name, $value ) | Sets a single style field value. | |
setWidth ( $value ) |
Method | Description | |
---|---|---|
_getZappableSleepProps ( &$exprops ) | Returns an array with the names of all variables of this object that should NOT be serialized because their value is the default one or useless to be cached for the next page loads. |
protected _getZappableSleepProps ( &$exprops ) |
public addAttributesToRender ( $writer ) |
public copyFrom ( $style ) |
public getBackColor ( ) : string | ||
return | string | the background color of the control |
public getBorderColor ( ) : string | ||
return | string | the border color of the control |
public getBorderStyle ( ) : string | ||
return | string | the border style of the control |
public getBorderWidth ( ) : string | ||
return | string | the border width of the control |
public getCssClass ( ) : string | ||
return | string | the CSS class of the control |
public getCustomStyle ( ) : string | ||
return | string | the custom style of the control |
public getDisplayStyle ( ) : |
||
return | display style |
public getForeColor ( ) : string | ||
return | string | the foreground color of the control |
public getStyleField ( $name ) : string | ||
return | string | a single style field value set via {@link setStyleField}. Defaults to empty string. |
public hasCssClass ( ) : boolean | ||
return | boolean | true if CSS is set or empty. |
public hasStyleField ( $name ) : boolean | ||
return | boolean | whether a style field has been defined by {@link setStyleField} |
public mergeWith ( $style ) |
public setBorderStyle ( $value ) |
public setCustomStyle ( $value ) |
public setStyleField ( $name, $value ) |