Class Index | File Index

Classes


Class Alfresco.widget.Balloon

Defined in: alfresco.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
Alfresco.widget.Balloon(p_context, p_params)
Alfresco.widget.Balloon constructor.
Field Summary
Field Attributes Field Name and Description
 
YAHOO.widget.Overlay instance
 
Element containing balloon's content
Method Summary
Method Attributes Method Name and Description
 
hide()
Hides the balloon
 
html(content)
Sets the HTML content of the balloon.
 
show()
Shows the balloon
 
text(content)
Sets the text content of the balloon.
Constructor Detail
Alfresco.widget.Balloon(p_context, p_params)
Alfresco.widget.Balloon constructor.
Should not be created directly, but via the Alfresco.util.createBalloon static function.
Parameters:
p_context
{Element|string} Element (or DOM ID) to align the balloon to
{object} p_params
Optional additional configuration to override the defaults
Returns:
{Alfresco.widget.Balloon} The new Balloon instance
Field Detail
balloon
YAHOO.widget.Overlay instance

content
Element containing balloon's content
Method Detail
hide()
Hides the balloon

html(content)
Sets the HTML content of the balloon.
Parameters:
{String} content
Contents will be inserted as-is with no escaping.

show()
Shows the balloon

text(content)
Sets the text content of the balloon.
Parameters:
{String} content
Contents will be inserted after being safely HTML-encoded.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Feb 16 2012 12:24:28 GMT-0000 (GMT)