Class Index | File Index

Classes


Class SweetDevRia.Editable


Extends RiaComponent, RiaComponent.

Defined in: Editable.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
This is the Table component class
Field Summary
Field Attributes Field Name and Description
<static>  
SweetDevRia.Editable.CHANGE_EVENT
This event type is fired when the edit value has changed
<static>  
SweetDevRia.Editable.CLOSE_EVENT
This event type is fired when close the edit component
<static>  
SweetDevRia.Editable.END_EVENT
This event type is fired when end edition
 
Set the name of the javascript function to be called when the user close the edit mode.
 
Set the name of the javascript function to be called when the user finish editing.
 
Set the name of the javascript function to be called when the user switch to edit mode.
<static>  
SweetDevRia.Editable.START_EVENT
This event type is fired when start edition
Method Summary
Method Attributes Method Name and Description
 
This method is called after close.
 
This method is called after endEdit.
 
This method is called after startEdit.
 
This method is called before close method.
 
This method is called before endEdit method.
 
This method is called before startEdit method.
<private>  
Initialize the Editable.
Class Detail
SweetDevRia.Editable(id)
This is the Table component class
Parameters:
{String} id
Id of this table
Field Detail
<static> SweetDevRia.Editable.CHANGE_EVENT
This event type is fired when the edit value has changed

<static> SweetDevRia.Editable.CLOSE_EVENT
This event type is fired when close the edit component

<static> SweetDevRia.Editable.END_EVENT
This event type is fired when end edition

onClose
Set the name of the javascript function to be called when the user close the edit mode.

onEndEdit
Set the name of the javascript function to be called when the user finish editing.

onStartEdit
Set the name of the javascript function to be called when the user switch to edit mode.

<static> SweetDevRia.Editable.START_EVENT
This event type is fired when start edition
Method Detail
afterClose()
This method is called after close. To be overridden !!

afterEndEdit()
This method is called after endEdit. To be overridden !!

afterStartEdit()
This method is called after startEdit. To be overridden !!

{boolean} beforeClose()
This method is called before close method. To be overridden !!
Returns:
True if this method can be called, else false.

{boolean} beforeEndEdit()
This method is called before endEdit method. To be overridden !!
Returns:
True if this method can be called, else false.

{boolean} beforeStartEdit()
This method is called before startEdit method. To be overridden !!
Returns:
True if this method can be called, else false.

<private> initialize()
Initialize the Editable. This method must be called at the page load !!!

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