/**
  * Sets the margin that ColumnGroup instance will use and all held TableColumns and/or
  * ColumnGroups.
  *
  * @param margin the margin
  */
 public void setColumnMargin(int margin) {
   this.margin = margin;
   Iterator iter = v.iterator();
   while (iter.hasNext()) {
     Object obj = iter.next();
     if (obj instanceof ColumnGroup) {
       ((ColumnGroup) obj).setColumnMargin(margin);
     }
   }
 }