OSCON/WRTKit/UI/OsconContentPanel.js
changeset 7 97dcd250e5be
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/OSCON/WRTKit/UI/OsconContentPanel.js	Fri Jul 17 15:52:45 2009 -0700
@@ -0,0 +1,16 @@
+
+
+///////////////////////////////////////////////////////////////////////////////
+// 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);