Simon Bull schrieb:
Simon Bull <waysoftheearth <at> yahoo.com.au> writes:
For QxTreeFiles and QxTreeFolders this.getParent() returns a
QxVerticalBoxLayout.
It seems most logical to addEventListeners to the QxTree and QxTreeFolder
elements, not their Layouts. So to pass an event up the tree to the next
QxTreeFolder, QxTarget._dispatchEvent would need to be somehow overridden
in QxTreeElement to use this.getParentFolder() instead of this.getParent()
Actually it does work after all :)
I found that events bubble up thru tree nodes the way I expected if I
explicitly do a event.setBubbles(true); I incorrectly assumed that
events bubble by default.
If depends on the type of event. QxMouseEvents should bubble.
QxKeyEvents not. And some other events not, too. Just take a look at the
implementation for more details.
Sebastian
Simon
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel