Class Index | File Index

Classes


Class SweetDevRia.Hookable


Defined in: Hooking.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
This is the Hookable component "interface"
Method Summary
Method Attributes Method Name and Description
 
Every hookable component MUST override this method to get closed on parent request
 
Return the hooker of a component, or null if none have been computed or found
 
Return the hooker id of a component, or null if none have been computed or set yet.
 
hasHookedComp(compId)
Function checking if a component is hooked or not (PopupManager)
 
move(dx, dy)
Every hookable component MUST override this method to get moved on parent request
 
Set a custom component id as hooker for this component (if not computable on server side).
 
Function trying to hook (initializing the hook)
Class Detail
SweetDevRia.Hookable(id)
This is the Hookable component "interface"
Parameters:
{String} id
Id of this hookable SweetDEV RIA component
Method Detail
close()
Every hookable component MUST override this method to get closed on parent request

{RiaComponent} getHooker()
Return the hooker of a component, or null if none have been computed or found
Returns:
the container component for this one, or null if none have been found or computed yet

{String} getHookerId()
Return the hooker id of a component, or null if none have been computed or set yet.
Returns:
the hooker id of a component, or null if none have been computed or set yet.

hasHookedComp(compId)
Function checking if a component is hooked or not (PopupManager)
Parameters:
compId

move(dx, dy)
Every hookable component MUST override this method to get moved on parent request
Parameters:
{int} dx
delta X to move the component to
{int} dy
delta Y to move the component to

setHookerId(id)
Set a custom component id as hooker for this component (if not computable on server side). This id will then be initialized on next tryHooking call.
Parameters:
{String} id
the id of the SweetDEV RIA component hooking this one

tryHooking()
Function trying to hook (initializing the hook)

Documentation generated by JsDoc Toolkit 2.0.0 on Thu May 05 2011 12:20:31 GMT+0200 (CEST)