int indexOf(GridColumn column){
  column=column.getFirstLeaf();
  int index=columns.indexOf(column);
  if (index < 0) {
    log.warn("Bad column [" + column.getElement() + "]");
  }
  return index;
}

int indexOf ( GridColumn column ) { column = column . getFirstLeaf ( ) ; int index = columns . indexOf ( column ) ; if ( index < 0 ) { log . warn ( "Bad column [" + column . getElement ( ) + "]" ) ; } return index ; }
searches the receiver ' s list starting at the first column ( index 0 ) until a column is found that is equal to the argument , and returns the index of that column . if no column is found , returns - 1 .
