author | ivanl |
Wed, 29 Jul 2009 10:14:37 +0100 | |
changeset 15 | 5e64ec5b1dfe |
parent 7 | 97dcd250e5be |
permissions | -rw-r--r-- |
7
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
1 |
|
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
2 |
|
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
3 |
/////////////////////////////////////////////////////////////////////////////// |
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
4 |
// The OsconContentPanel class is a control for displaying content. |
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
5 |
// The panel has a title bar and |
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
6 |
// can be expanded and collapsed. |
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
7 |
|
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
8 |
// Constructor. |
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
9 |
function OsconContentPanel(id, caption, content, foldable, expanded) { |
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
10 |
if (id != UI_NO_INIT_ID) { |
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
11 |
this.init(id, caption, content, foldable, expanded); |
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
12 |
} |
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
13 |
} |
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
14 |
|
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
15 |
// ContentPanel inherits from Control. |
97dcd250e5be
checking in an application written by Ivan Litovski. If you're going to OSCon, this is a must.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
16 |
ContentPanel.prototype = new Control(UI_NO_INIT_ID); |