uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/propwriter1.js
author fturovic <frank.turovich@nokia.com>
Mon, 13 Jul 2009 14:16:23 -0500
changeset 364 d4bc15911a2c
parent 0 fb279309251b
permissions -rw-r--r--
updated bug fixes for final 2.1


// this test uses only globals

function Test() {
}


Test.prototype.getName = function() {
	return properties["name"];
}

Test.prototype.setName = function(str) {
	properties["name"] = "_" + str;
}

Test.prototype.getSizeFormatted = function() {
	return properties["size"].x + "," + properties["size"].y;
}

Test.prototype.setSize = function(x,y) {
	properties["size"]["x"] = x;
	properties["size"]["y"] = y;
}