Browse Source

#6844 Getter for column generator

svn changeset:18388/svn branch:6.6
tags/6.7.0.beta1
Artur Signell 13 years ago
parent
commit
a7fe2c40a6
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      src/com/vaadin/ui/Table.java

+ 12
- 0
src/com/vaadin/ui/Table.java View File

@@ -3034,6 +3034,18 @@ public class Table extends AbstractSelect implements Action.Container,
}
}

/**
* Returns the ColumnGenerator used to generate the given column.
*
* @param columnId
* The id of the generated column
* @return The ColumnGenerator used for the given columnId or null.
*/
public ColumnGenerator getColumnGenerator(Object columnId)
throws IllegalArgumentException {
return columnGenerators.get(columnId);
}

/**
* Removes a generated column previously added with addGeneratedColumn.
*

Loading…
Cancel
Save