aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties/line-properties.reel/line-properties.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/tools-properties/line-properties.reel/line-properties.js')
-rw-r--r--js/components/tools-properties/line-properties.reel/line-properties.js50
1 files changed, 50 insertions, 0 deletions
diff --git a/js/components/tools-properties/line-properties.reel/line-properties.js b/js/components/tools-properties/line-properties.reel/line-properties.js
new file mode 100644
index 00000000..694e4326
--- /dev/null
+++ b/js/components/tools-properties/line-properties.reel/line-properties.js
@@ -0,0 +1,50 @@
1/* <copyright>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No 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
7var Montage = require("montage/core/core").Montage,
8 ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties;
9
10exports.LineProperties = Montage.create(ToolProperties, {
11
12 base: { value: null },
13
14 _subPrepare: {
15 value: function() {
16 //this.divElement.addEventListener("click", this, false);
17 }
18 },
19
20 handleClick: {
21 value: function(event) {
22 // this.selectedElement = event._event.target.id;
23 }
24 },
25
26 // Public API
27 use3D: {
28 get: function() { return this.base._use3D; }
29 },
30
31 strokeSize: {
32 get: function() { return this.base._strokeSize; }
33 },
34
35 strokeStyle : {
36 get: function() { return this.base._strokeStyle.options[this.base._strokeStyle.value].text; }
37 },
38
39 strokeStyleIndex : {
40 get: function() { return this.base._strokeStyle.options[this.base._strokeStyle.value].value; }
41 },
42
43 strokeMaterial: {
44 get: function() { return this.base._strokeMaterial.options[this.base._strokeMaterial.value].value; }
45 },
46
47 fillMaterial: {
48 get: function() { return this.base._fillMaterial.options[this.base._fillMaterial.value].value; }
49 }
50}); \ No newline at end of file