OSCON/WRTKit/UI/OsconContentPanel.js
changeset 7 97dcd250e5be
equal deleted inserted replaced
6:5e0dece09f96 7:97dcd250e5be
       
     1 
       
     2 
       
     3 ///////////////////////////////////////////////////////////////////////////////
       
     4 // The OsconContentPanel class is a control for displaying content. 
       
     5 // The panel has a title bar and 
       
     6 // can be expanded and collapsed.
       
     7 
       
     8 // Constructor.
       
     9 function OsconContentPanel(id, caption, content, foldable, expanded) {
       
    10     if (id != UI_NO_INIT_ID) {
       
    11         this.init(id, caption, content, foldable, expanded);
       
    12     }
       
    13 }
       
    14 
       
    15 // ContentPanel inherits from Control.
       
    16 ContentPanel.prototype = new Control(UI_NO_INIT_ID);