SmartGWT: Getting custom widget from VLStack

2019-09-08 23:33发布

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

标签: gwt smartgwt
1条回答
登录 后发表回答