OSCON/WRTKit/UI/OsconContentPanel.js
author ivanl
Tue, 21 Jul 2009 14:33:23 +0100
changeset 14 631ddb2767c7
parent 7 97dcd250e5be
permissions -rw-r--r--
cleanup



///////////////////////////////////////////////////////////////////////////////
// The OsconContentPanel class is a control for displaying content. 
// The panel has a title bar and 
// can be expanded and collapsed.

// Constructor.
function OsconContentPanel(id, caption, content, foldable, expanded) {
    if (id != UI_NO_INIT_ID) {
        this.init(id, caption, content, foldable, expanded);
    }
}

// ContentPanel inherits from Control.
ContentPanel.prototype = new Control(UI_NO_INIT_ID);