@qooxdoo/framework
Version:
The JS Framework for Coders
51 lines (39 loc) • 1.18 kB
JavaScript
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2008 Derrell Lipman
License:
MIT: https://opensource.org/licenses/MIT
See the LICENSE file in the project's top-level directory for details.
Authors:
* Derrell Lipman (derrell)
************************************************************************ */
/**
* The abstract class for a header or footer for use with Progressive's Table
* renderer.
*/
qx.Class.define("qx.ui.progressive.headfoot.Abstract", {
type: "abstract",
extend: qx.ui.container.Composite,
construct() {
super(new qx.ui.layout.HBox());
},
members: {
__progressive: null,
/**
* Join this header/footer to a Progressive. This makes the Progressive
* object available to the header/footer through the _progressive member.
*
* @param progressive {qx.ui.progressive.Progressive}
* Progressive object to which we're being joined.
*
*/
join(progressive) {
this.__progressive = progressive;
}
},
destruct() {
this.__progressive = null;
}
});