]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.webapp/src/main/webapp/argeo-ria-src/class/org/argeo/ria/event/ReloadEvent.js
2 * This can be triggered at the end of a IO Request. In that case, it contains
3 * a data type as an identifier, and the request response itself.
4 * Can be used this way to listen for data changes from various parts of the application.
6 qx
.Class
.define("org.argeo.ria.event.ReloadEvent",
8 extend
: qx
.event
.type
.Event
,
10 construct : function(){
15 * Basic initialisation of event
16 * @param dataType {String} a unique data identifier
17 * @param content {mixed} the retrieved data
19 init: function(dataType
, content
){
20 this.setDataType(dataType
);
21 this.setContent(content
);
26 * A unique data identifier
28 dataType
: {init
:null, check
:"String"},
30 * The new data content