Class Index | File Index

Classes


Class Archetype.component.graphicalComponent


Extends Archetype.component.abstractComponent.
Archetype.component.graphicalComponent
Defined in: graphicalComponent.js.

Constructor Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Array of parent_Elements where the component is
Fields inherited from class Archetype.component.abstractComponent:
setup
Method Summary
Method Attributes Method Name and Description
 
addUnderElement(parentElement)
Generic elements for graphical uses
 
Called by default after a "render"
override this to set handlers after a typical render
 
 
render(Element, )
Render the view.
 
Renders the view as a String, must be implemented by the graphical component Takes no parameters.
Constructor Detail
new Archetype.component.graphicalComponent()

Author: temsa Describes the Standard Component Interface.
Field Detail
parent_Elements
Array of parent_Elements where the component is
Method Detail
addUnderElement(parentElement)
Generic elements for graphical uses
Parameters:
parentElement

afterRender()
Called by default after a "render"
override this to set handlers after a typical render

initialize()

render(Element, )
Render the view. Uses renderViewAsString().
Parameters:
{DOMNode} Element
on which the Insertion will be applied
{Insertion}
[Insertion object] Usually prototype ones. Do not define to replace the element.
See:
http://www.prototypejs.org/api/insertion

{String} renderViewAsString()
Renders the view as a String, must be implemented by the graphical component Takes no parameters.
Returns:
{String} the view as a string to insert in the DOM

Documentation generated by JsDoc Toolkit 2.0.b2 on Thu Feb 21 2008 20:16:55 GMT+0100 (CET)