aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/controller/object-controller.js
diff options
context:
space:
mode:
authorPierre Frisch2011-12-22 07:25:50 -0800
committerValerio Virgillito2012-01-27 11:18:17 -0800
commitb89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch)
tree0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /node_modules/montage/ui/controller/object-controller.js
parent2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff)
downloadninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/controller/object-controller.js')
-rwxr-xr-xnode_modules/montage/ui/controller/object-controller.js62
1 files changed, 62 insertions, 0 deletions
diff --git a/node_modules/montage/ui/controller/object-controller.js b/node_modules/montage/ui/controller/object-controller.js
new file mode 100755
index 00000000..54e32231
--- /dev/null
+++ b/node_modules/montage/ui/controller/object-controller.js
@@ -0,0 +1,62 @@
1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */
6/**
7 @module montage/ui/controller/object-controller
8 @requires montage/core/core
9 */
10var Montage = require("montage").Montage;
11/**
12 @class module:montage/ui/controller/object-controller.ObjectController
13 @classdesc Generic object controller.
14 @extends module:montage/core/core.Montage
15 */
16var ObjectController = exports.ObjectController = Montage.create(Montage, /** @lends module:montage/ui/controller/object-controller.ObjectController# */ {
17/**
18 Description TODO
19 @type {Property}
20 @default null
21 */
22 objectPrototype: {
23 enumerable: false,
24 value: null
25 },
26 /**
27 Description TODO
28 @function
29 @returns this.objectPrototype.create()
30 */
31 newObject: {
32 enumerable: false,
33 value: function() {
34 return this.objectPrototype.create();
35 }
36 },
37
38 /**
39 Description TODO
40 @function
41 @param {Property} content TODO
42 @returns itself
43 */
44 initWithContent: {
45 value: function(content) {
46 this.content = content;
47 return this;
48 }
49 },
50 /**
51 Description TODO
52 @type {Property}
53 @default null
54 */
55 content: {
56 enumerable: false,
57 value: null
58 }
59
60
61
62});