uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/events.js
author timkelly
Wed, 24 Jun 2009 14:21:31 -0500
changeset 297 192fda8b2d77
parent 0 fb279309251b
permissions -rw-r--r--
update test for plat macros to use newer SDK (S60 5th ed.)



function Test() {
}

Test.prototype.getEventBinding = function(id) {
	return events[id]
}
Test.prototype.getEventEventId = function(id) {
	return events[id].eventId
}
Test.prototype.getEventEventName = function(id) {
	return events[id].eventName
}
Test.prototype.getEventMethod = function(id) {
	return events[id].handlerName
}
Test.prototype.getEventSymbol = function(id) {
	return events[id].handlerSymbol
}

Test.prototype.getEventParamBinding = function(instance, id) {
	var events = instance.events
	return events[id]
}
Test.prototype.getEventParamEventId = function(instance, id) {
	var events = instance.events
	return events[id].eventId
}
Test.prototype.getEventParamEventName = function(instance, id) {
	var events = instance.events
	return events[id].eventName
}
Test.prototype.getEventParamMethod = function(instance, id) {
	var events = instance.events
	return events[id].handlerName
}
Test.prototype.getEventParamSymbol = function(instance, id) {
	var events = instance.events
	return events[id].handlerSymbol
}