uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/propwriter1_params.js
equal
deleted
inserted
replaced
|
1 |
|
2 function Test() { |
|
3 } |
|
4 |
|
5 |
|
6 Test.prototype.getName = function(inst) { |
|
7 return inst.properties["name"]; |
|
8 } |
|
9 |
|
10 Test.prototype.setName = function(inst, str) { |
|
11 inst.properties["name"] = "_" + str; |
|
12 } |
|
13 |
|
14 Test.prototype.getSizeFormatted = function(props) { |
|
15 return props["size"].x + "," + props["size"].y; |
|
16 } |
|
17 |
|
18 Test.prototype.setSize = function(props, x,y) { |
|
19 props["size"]["x"] = x; |
|
20 props["size"]["y"] = y; |
|
21 } |