Class Archetype.component.graphicalComponent
Extends
Archetype.component.abstractComponent.
Archetype.component.graphicalComponent
Defined in: graphicalComponent.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Field Attributes | Field Name and Description |
|---|---|
|
Array of parent_Elements where the component is
|
- Fields inherited from class Archetype.component.abstractComponent:
- setup
| 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
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