uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/propwriter1.js
author timkelly
Tue, 04 May 2010 11:32:39 -0500
changeset 1327 f0fa49ad9b81
parent 0 fb279309251b
permissions -rw-r--r--
fix bug 11218


// 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;
}