From: Artur Signell Date: Tue, 19 Apr 2011 13:12:20 +0000 (+0000) Subject: #6844 Getter for column generator X-Git-Tag: 6.7.0.beta1~315 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a7fe2c40a6b54776c103563c0e7a14874510f9c7;p=vaadin-framework.git #6844 Getter for column generator svn changeset:18388/svn branch:6.6 --- diff --git a/src/com/vaadin/ui/Table.java b/src/com/vaadin/ui/Table.java index 290aa1cf09..9a80f00612 100644 --- a/src/com/vaadin/ui/Table.java +++ b/src/com/vaadin/ui/Table.java @@ -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. *