示例#1
0
 private View getView(String id, Component c) {
   Collection<View> views = UIUtil.getComponentsExtending(c, View.class);
   for (View view : views) {
     if (view.getId().equals(id)) {
       return view;
     }
   }
   return null;
 }
示例#2
0
 public void dispose() {
   for (ViewContainer container : UIUtil.getComponentsExtending(this, ViewContainer.class)) {
     container.dispose();
   }
 }