From a7fe2c40a6b54776c103563c0e7a14874510f9c7 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 19 Apr 2011 13:12:20 +0000 Subject: [PATCH] #6844 Getter for column generator svn changeset:18388/svn branch:6.6 --- src/com/vaadin/ui/Table.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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. * -- 2.39.5