Class Index | File Index

Classes


Class SweetDevRia.RiaComponent

parent class of SweetDevRia components
Defined in: RiaComponent.js.

Class Summary
Constructor Attributes Constructor Name and Description
<private>  
SweetDevRia.RiaComponent(id, className)
Field Summary
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 Summary
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 the component Default does nothing.
 
Return the component container
 
Get the frame component associated to this component (if exist), null otherwize
<private>  
Return a message contained in the i18n map from a key
<private>  
Render this component if exist a template
 
setConstraintId(constraintId)
Specify a parent id to constraint resize of the associated frame, if exist
Class Detail
<private> SweetDevRia.RiaComponent(id, className)
Parameters:
id
className
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

Documentation generated by JsDoc Toolkit 2.0.0 on Thu Dec 02 2010 15:18:56 GMT+0100 (CET)