]> source.dussan.org Git - vaadin-framework.git/commitdiff
#6844 Getter for column generator
authorArtur Signell <artur.signell@itmill.com>
Tue, 19 Apr 2011 13:12:20 +0000 (13:12 +0000)
committerArtur Signell <artur.signell@itmill.com>
Tue, 19 Apr 2011 13:12:20 +0000 (13:12 +0000)
svn changeset:18388/svn branch:6.6

src/com/vaadin/ui/Table.java

index 290aa1cf09809e269945c7a26f173b211219c7f4..9a80f00612385c2b26f8a7beda765d94449895e6 100644 (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.
      *