OSCON/WRTKit/UI/OsconContentPanel.js
author John Kern <johnk@symbian.org>
Fri, 17 Jul 2009 15:52:45 -0700
changeset 7 97dcd250e5be
permissions -rwxr-xr-x
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.



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