uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/events.js
author timkelly
Mon, 03 May 2010 15:57:15 -0500
branchRCL_2_4
changeset 1322 33904a37d223
parent 0 fb279309251b
permissions -rw-r--r--
Fix bug 11195 (Prompt before switching perspectives on project creation)



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
}