theoretically able to drag / dragOver / drop any widget.
For that, use widget.addDomHandler (as explained here
http://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/fr//events/io/2011/static/presofiles/gwt_html5_a_web_develops_dream.pdf)
But if you need to drag the widget itself you need to use dnd or
gwtquery. The latter has support for cells which I didnt manage to get
working with the native dnd.
Ludovit
On 20 jan, 17:15, stagirus <mohanam...@gmail.com> wrote:
> Thank you Thomas. I will try your suggestion of AbsolutePanel within a
> FocusPanel. I suppose the container FocusPanel receives thedrop
> (mouse) events that actually occur within the child AbsolutePanel.
>
> I am also intrigued by your comment on gwt-dnd. It does look promising
> for our requirements. Thanks to Allen Sauer. I got the impression that
> GWT 2.4 is natively trying to support the same functionality offered
> by gwt-dnd. I noticed Allen Sauer joined Google's DND team/project.
> (What is your plan Allen?)
>
> Again, thank you Thomas for your helpful reply!
>
> On Jan 20, 3:03 am, Thomas Broyer <t.bro...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Er, put an AbsolutePanel in a FocusPanel, and add a DropHandler on the
> > FocusPanel to handle thedrop(and do whatever you want with the wrapped
> > AbsolutePanel)?
>
> > Note that GWT's support for DnD is via the native browser API/events, so
> > you transport "data", not "widgets", so what would a panel do with that?
> > Seehttp://dev.w3.org/html5/spec/dnd.html#the-drag-data-store
>
> > If you want todraganddropwidgets, you can use gwt-dnd instead (much
> > lighter weight than SmartGWT)
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment