OSCON/WRTKit/UI/OsconContentPanel.js
author ivanl
Fri, 21 Aug 2009 16:39:37 +0100
changeset 18 b73e6caf0031
parent 7 97dcd250e5be
permissions -rw-r--r--
Added Wiki support Added TextPane Added large view CSS and images



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