Am 01.02.2007 um 03:10 schrieb [EMAIL PROTECTED]:

> Sebastian Werner <[EMAIL PROTECTED]> writes:
>
>> if you are talking from the final position inside a node, you can  
>> use  one of
>> the methods in qx.html.Offset. For example there is a method  named:
>> qx.html.Offset.getTop.
>
> Thanks!  Although that wasn't what I needed, it did lead me to
> qx.html.Location.getClientBoxLeft() which was exactly what I needed.
>
>> But if I understand you correctly you want to determine the real  
>> target (in
>> DOM view) for a mouse event. You can try to use the property  
>> domTarget of
>> all Mouse- and KeyEvents. I think this should perform better than  
>> calculate
>> positions.
>
> I haven't yet figured out how to use this.  The mouse click I'm  
> getting is
> from TablePaneScroller (I think; it's what has the mousedown  
> listener), and
> assuming the TablePaneScroller is the domTarget, I think I still  
> need to do
> calculations to figure out if the open/close button was pressed...???
>
> Am I properly understanding what domTarget is/does?

That exactly is the difference between domTarget and target. "target"  
is the current qooxdoo target, where "domTarget" is static/final and  
contains the real target from the browsers perspective. You should  
get the real DIV/INPUT/IMG etc. element then. This should allows you  
to bubble up the parents to find in which tree element you are.

Sebastian

>
> Derrell
>
> ---------------------------------------------------------------------- 
> ---
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to