Пример #1
0
 /* (non-Javadoc)
  */
 @Override
 public UIElement getComponentFor(Object o) {
   Object[] a = (Object[]) o;
   UITable table = UITable.of();
   int i = 0;
   for (Object value : a) {
     UITableRow row = UITableRow.of(UITableDetail.of("" + i), link(value));
     table = table.with(row);
     i++;
   }
   return table;
 }
Пример #2
0
 UITableRow row(List<UITableCell> details) {
   return UITableRow.of(details);
 }