diff options
Diffstat (limited to 'js/stage/binding-view.reel/binding-view.js')
-rwxr-xr-x | js/stage/binding-view.reel/binding-view.js | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/js/stage/binding-view.reel/binding-view.js b/js/stage/binding-view.reel/binding-view.js new file mode 100755 index 00000000..df3bc3ee --- /dev/null +++ b/js/stage/binding-view.reel/binding-view.js | |||
@@ -0,0 +1,59 @@ | |||
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 | /** | ||
8 | @requires montage/core/core | ||
9 | @requires montage/ui/component | ||
10 | */ | ||
11 | var Montage = require("montage/core/core").Montage, | ||
12 | Component = require("montage/ui/component").Component; | ||
13 | |||
14 | exports.BindingView = Montage.create(Component, { | ||
15 | //private Properties | ||
16 | _selectedElement: { | ||
17 | value: null | ||
18 | }, | ||
19 | _bindables: { | ||
20 | value: [] | ||
21 | }, | ||
22 | _nonVisualComponents: { | ||
23 | value:null | ||
24 | }, | ||
25 | |||
26 | //Public Objects | ||
27 | hudRepeater: { value: null }, | ||
28 | |||
29 | |||
30 | //Public Properties | ||
31 | selectedElement: { | ||
32 | get: function() { | ||
33 | return this._selectedElement; | ||
34 | }, | ||
35 | set: function(val) { | ||
36 | this._selectedElement = val; | ||
37 | } | ||
38 | }, | ||
39 | bindables: { | ||
40 | get: function() { | ||
41 | return this._bindables; | ||
42 | }, | ||
43 | set: function(val) { | ||
44 | this._bindables = val; | ||
45 | } | ||
46 | }, | ||
47 | nonVisualComponents: { | ||
48 | get: function() { | ||
49 | return this._nonVisualComponents; | ||
50 | }, | ||
51 | set: function(val) { | ||
52 | this._nonVisualComponents = val; | ||
53 | } | ||
54 | } | ||
55 | |||
56 | //Methods | ||
57 | |||
58 | |||
59 | }); \ No newline at end of file | ||