开发者

using gwt-dnd with new layout panels of gwt 2.0

I'd like to use gwt-dnd within an application that uses the new 2.0 layout panels.

however, gwt-dnd only accepts AbsolutePanel as its container for drag and drop.

is it possible to use AbsolutePanel within, say, a Dock开发者_运维问答LayoutPanel?


No, you cannot use AbsolutePanel or DockPanel in gwt-dnd. But you can use FocusPanel. So you have to put FocusPanels whenever you want dnd available.
Eg. you put: DockPanel -> north -> FocusPanel -> AbsolutePanel

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜