2006-08-01 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / Microsoft.Web.Atlas / resources / AtlasControls.js
1 Type.registerNamespace ('Web.UI');
2
3 // Button
4 Web.UI.Button = function(ele) {
5    Web.UI.Button.initializeBase(ele);
6 }
7 Type.registerClass ('Web.UI.Button', Web.UI.Control, null /* interface(s) */);
8
9 Web.UI.Button.prototype.initialize = function () {
10     Web.UI.Button.callBaseMethod ()
11
12     return Demo.Employee.callBaseMethod(this, 'toString') + '\r\n' + this.getTitle() + '\r\n' + this.getTeam(); 
13 }
14
15
16 // Control
17 //
18 Web.UI.Control = function(ele) {
19    Web.UI.Control.initializeBase(ele);
20 }
21 Type.registerClass ('Web.UI.Control', null, null /* interface(s) */);
22
23 // Select
24 //
25 Web.UI.Select = function(ele) {
26     Web.UI.Button.initializeBase(ele);
27 }
28 Type.registerClass ('Web.UI.Select', Web.UI.Control, null /* interface(s) */);
29
30
31
32 // TextBox
33 //
34 Web.UI.TextBox = function(ele) {
35     Web.UI.Control.initializeBase(ele);
36 }
37 Type.registerClass ('Web.UI.TextBox', Web.UI.Control, null /* interface(s) */);
38
39