From 395955d960a716fa8bf2318c3f92e167c93b4f6c Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Wed, 7 Jan 2015 14:32:46 +0200 Subject: Move column constants from state to GridConstants (#15510) Change-Id: I9dd103d2f9725499823231881c432696f05b80db --- client/src/com/vaadin/client/widgets/Grid.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'client') diff --git a/client/src/com/vaadin/client/widgets/Grid.java b/client/src/com/vaadin/client/widgets/Grid.java index c95e8e4a53..28cc1000ce 100644 --- a/client/src/com/vaadin/client/widgets/Grid.java +++ b/client/src/com/vaadin/client/widgets/Grid.java @@ -122,7 +122,6 @@ import com.vaadin.client.widget.grid.sort.SortHandler; import com.vaadin.client.widget.grid.sort.SortOrder; import com.vaadin.client.widgets.Escalator.AbstractRowContainer; import com.vaadin.shared.data.sort.SortDirection; -import com.vaadin.shared.ui.grid.GridColumnState; import com.vaadin.shared.ui.grid.GridConstants; import com.vaadin.shared.ui.grid.GridStaticCellType; import com.vaadin.shared.ui.grid.HeightMode; @@ -2543,7 +2542,7 @@ public class Grid extends ResizeComposite implements * Width of column in pixels as {@link #setWidth(double)} has been * called */ - private double widthUser = GridColumnState.DEFAULT_COLUMN_WIDTH_PX; + private double widthUser = GridConstants.DEFAULT_COLUMN_WIDTH_PX; /** * Renderer for rendering a value into the cell @@ -2554,9 +2553,9 @@ public class Grid extends ResizeComposite implements private String headerCaption = ""; - private double minimumWidthPx = GridColumnState.DEFAULT_MIN_WIDTH; - private double maximumWidthPx = GridColumnState.DEFAULT_MAX_WIDTH; - private int expandRatio = GridColumnState.DEFAULT_EXPAND_RATIO; + private double minimumWidthPx = GridConstants.DEFAULT_MIN_WIDTH; + private double maximumWidthPx = GridConstants.DEFAULT_MAX_WIDTH; + private int expandRatio = GridConstants.DEFAULT_EXPAND_RATIO; /** * Constructs a new column with a simple TextRenderer. -- cgit v1.2.3