|
Class TPanelStyle
TPanelStyle class. TPanelStyle represents the CSS style specific for panel
HTML tag.
-
TComponent
-
TStyle
-
TPanelStyle
Methods summary
public
|
#
addAttributesToRender( THtmlWriter $writer )
Adds attributes related to CSS styles to renderer. This method overrides the
parent implementation.
Adds attributes related to CSS styles to renderer. This method overrides the
parent implementation.
Parameters
- $writer
THtmlWriter
the writer used for the rendering purpose
Overrides
|
public
string
|
#
getBackImageUrl( )
Returns
string the URL of the background image for the panel component.
|
public
|
#
setBackImageUrl( string $value )
Sets the URL of the background image for the panel component.
Sets the URL of the background image for the panel component.
Parameters
|
public
TContentDirection
|
#
getDirection( )
Returns
TContentDirection
alignment of the content in the panel. Defaults to TContentDirection::NotSet.
|
public
|
|
public
boolean
|
#
getWrap( )
Returns
boolean whether the content wraps within the panel. Defaults to true.
|
public
|
#
setWrap( boolean $value )
Sets the value indicating whether the content wraps within the panel.
Sets the value indicating whether the content wraps within the panel.
Parameters
- $value
boolean whether the content wraps within the panel.
|
public
THorizontalAlign
|
#
getHorizontalAlign( )
Returns
THorizontalAlign
the horizontal alignment of the contents within the panel, defaults to
THorizontalAlign::NotSet.
|
public
|
#
setHorizontalAlign( THorizontalAlign $value )
Sets the horizontal alignment of the contents within the panel.
Sets the horizontal alignment of the contents within the panel.
Parameters
|
public
TScrollBars
|
#
getScrollBars( )
Returns
TScrollBars
the visibility and position of scroll bars in a panel control, defaults to
TScrollBars::None.
|
public
|
#
setScrollBars( TScrollBars $value )
Parameters
- $value
TScrollBars
the visibility and position of scroll bars in a panel control.
|
public
|
#
reset( )
Sets the style attributes to default values. This method overrides the parent
implementation by resetting additional TPanelStyle specific attributes.
Sets the style attributes to default values. This method overrides the parent
implementation by resetting additional TPanelStyle specific attributes.
Overrides
|
public
|
#
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.
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.
Parameters
Overrides
|
public
|
#
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.
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.
Parameters
Overrides
|
Methods inherited from TStyle
__clone(),
__construct(),
clearStyleField(),
getBackColor(),
getBorderColor(),
getBorderStyle(),
getBorderWidth(),
getCssClass(),
getCustomStyle(),
getDisplayStyle(),
getFont(),
getForeColor(),
getHeight(),
getStyleField(),
getStyleFields(),
getWidth(),
hasCssClass(),
hasFont(),
hasStyleField(),
setBackColor(),
setBorderColor(),
setBorderStyle(),
setBorderWidth(),
setCssClass(),
setCustomStyle(),
setDisplayStyle(),
setForeColor(),
setHeight(),
setStyleField(),
setWidth()
|
Methods inherited from TComponent
__call(),
__destruct(),
__get(),
__isset(),
__set(),
__sleep(),
__unset(),
__wakeup(),
addParsedObject(),
asa(),
attachBehavior(),
attachBehaviors(),
attachClassBehavior(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
clearBehaviors(),
createdOnTemplate(),
detachBehavior(),
detachBehaviors(),
detachClassBehavior(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
evaluateStatements(),
fxAttachClassBehavior(),
fxDetachClassBehavior(),
getAutoGlobalListen(),
getBehaviorsEnabled(),
getClassHierarchy(),
getEventHandlers(),
getListeningToGlobalEvents(),
getSubProperty(),
hasEvent(),
hasEventHandler(),
hasProperty(),
isa(),
listen(),
raiseEvent(),
setSubProperty(),
unlisten()
|
|