Class SweetDevRia.RiaComponent
parent class of SweetDevRia components
Defined in: RiaComponent.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<private> |
SweetDevRia.RiaComponent(id, className)
|
Field Attributes | Field Name and Description |
---|---|
Frame default border size
|
|
Frame default css class base
|
|
<static> |
SweetDevRia.RiaComponent.INIT_EVENT
This event type is fired when the ria component is initialized
|
<static> |
SweetDevRia.RiaComponent.RENDER_EVENT
This event type is fired when the ria component is rendered
|
Method Attributes | Method Name and Description |
---|---|
This method is called after Render this menu
To be overriden !!
|
|
This method is called before Render this menu
To be overriden !!
|
|
Create a frame for this component
|
|
<private> |
destroy()
Destroy the component
Default does nothing.
|
Return the component container
|
|
getFrame()
Get the frame component associated to this component (if exist), null otherwize
|
|
<private> |
getMessage(key)
Return a message contained in the i18n map from a key
|
<private> |
render()
Render this component if exist a template
|
setConstraintId(constraintId)
Specify a parent id to constraint resize of the associated frame, if exist
|
Field Detail
{int}
borderSize
Frame default border size
{String}
cssClassBase
Frame default css class base
<static>
SweetDevRia.RiaComponent.INIT_EVENT
This event type is fired when the ria component is initialized
<static>
SweetDevRia.RiaComponent.RENDER_EVENT
This event type is fired when the ria component is rendered
Method Detail
afterRender()
This method is called after Render this menu
To be overriden !!
{boolean}
beforeRender()
This method is called before Render this menu
To be overriden !!
- Returns:
- True if this method can be called, else false.
{Frame}
createFrame()
Create a frame for this component
- Returns:
- the new SweetDevRia.Frame component created
<private>
destroy()
Destroy the component
Default does nothing.
getContainer()
Return the component container
{Frame}
getFrame()
Get the frame component associated to this component (if exist), null otherwize
- Returns:
- the SweetDevRia.Frame component circling this component
<private>
getMessage(key)
Return a message contained in the i18n map from a key
- Parameters:
- {String} key
- The message key inside the i18n map
<private>
render()
Render this component if exist a template
setConstraintId(constraintId)
Specify a parent id to constraint resize of the associated frame, if exist
- Parameters:
- {String} constraintId