The X Toolkit API

X.caption

This class has no public members.

/**
* Create a caption element (similar to a tooltip).
*
* @constructor
* @param {?Element} parent The parent element in the DOM tree.
* @param {!number} x The X-coordinate of the upper left caption corner.
* @param {!number} y The Y-coordinate of the upper left caption corner.
* @param {?X.interactor} interactor The interactor for listening to the
*          X.event.HoverEndEvent.
* @extends goog.ui.Tooltip
*/
var c = new X.caption();
/**
* The className of this class.
*
* @type {string}
* @protected
*/
c._classname = $_CLASSNAME;
/**
* The collection of CSS definitions.
*
* @type {!Array}
* @protected
*/
c._css = $_CSS;
/**
* The interactor for listening to the X.event.HoverEndEvent.
*
* @type {?X.interactor}
* @protected
*/
c._interactor = $_INTERACTOR;
/**
* The parent element in the DOM tree of this caption element.
*
* @type {!Element}
* @protected
*/
c._parent = $_PARENT;
/**
* The element for the CSS style of this caption element.
*
* @type {?Element}
* @protected
*/
c._style = $_STYLE;
/**
* The X-coordinate of this caption element.
*
* @type {!number}
* @protected
*/
c._x = $_X;
/**
* The Y-coordinate of this caption element.
*
* @type {!number}
* @protected
*/
c._y = $_Y;
/**
* Internal function to initialize the caption element which gets called by the
* constructor.
*
* @private
*/
c.init_();
/**
* Remove the caption element from the document.
*/
c.kill();


CONSTRUCTORS
X.caption

PROPERTIES
_classname
_css
_interactor
_parent
_style
_x
_y

GETTERS/SETTERS

FUNCTIONS
init_
kill

STATIC



SOURCECODE