SmartGWT: Getting custom widget from VLStack

痴心易碎 提交于 2019-12-25 01:54:17

问题


Hi I have defined a custom widget: public class BookingArea extends Composite { ... } which contains some smartgwt widgets.

From my entrypoint class I add x amount of this widgets inside a VStack. I now want to remove some of the widgets from VStack as something like this:

Canvas members[] = vStack.getMembers();

for (int i = 0; i < members.length; i++) { //Here I want to check for example, a member of the BookingArea widget, //how do I convert one canvas to BookingArea?

}

Please help me I cant figure this out. Thank you in advance


回答1:


Solution: http://code.google.com/p/smartgwt/issues/detail?id=278



来源:https://stackoverflow.com/questions/2674086/smartgwt-getting-custom-widget-from-vlstack

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!