diff options
author | Tatu Lund <tatu@vaadin.com> | 2018-10-19 12:43:08 +0300 |
---|---|---|
committer | Sun Zhe <31067185+ZheSun88@users.noreply.github.com> | 2018-10-19 12:43:08 +0300 |
commit | 6266f11b6d3cffdfdd56a3054367cbbf9b368e2c (patch) | |
tree | 99baac4169e4d63a88f825a8abceb22eacd289bf /server/src/main | |
parent | 5e33b383fdf31f2ea15603f3a30bcb1e3c22d081 (diff) | |
download | vaadin-framework-6266f11b6d3cffdfdd56a3054367cbbf9b368e2c.tar.gz vaadin-framework-6266f11b6d3cffdfdd56a3054367cbbf9b368e2c.zip |
Improve setStyleGenerator JavaDocs (#11262)
Added note that style generator is not applied to the Editor
See also: https://github.com/vaadin/framework/issues/11169
Diffstat (limited to 'server/src/main')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/Grid.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Grid.java b/server/src/main/java/com/vaadin/ui/Grid.java index 579256d091..c4d6c95c01 100644 --- a/server/src/main/java/com/vaadin/ui/Grid.java +++ b/server/src/main/java/com/vaadin/ui/Grid.java @@ -1398,6 +1398,9 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents, * cells in this column. Returning null from the generator results in no * custom style name being set. * + * Note: The style generator is applied only to the body cells, not to + * the Editor. + * * @param cellStyleGenerator * the cell style generator to set, not null * @return this column @@ -3311,6 +3314,9 @@ public class Grid<T> extends AbstractListing<T> implements HasComponents, * in this grid. Returning null from the generator results in no custom * style name being set. * + * Note: The style generator is applied only to the body cells, not to + * the Editor. + * * @see StyleGenerator * * @param styleGenerator |