OSCON/WRTKit/UI/OsconContentPanel.js
author ivanl
Mon, 10 Aug 2009 11:26:10 +0100
changeset 17 5dc2963cd75f
parent 7 97dcd250e5be
permissions -rw-r--r--
1.0rc14 Fixed bbcode rendering



///////////////////////////////////////////////////////////////////////////////
// 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);