diff options
author | John Ahlroos <john@vaadin.com> | 2014-06-16 15:47:34 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2014-06-16 15:51:25 +0300 |
commit | 327399e9abeaae43f83919246c3df33a33ed6161 (patch) | |
tree | b06b7dfcc89534e477928706f6761f78d0b39ba6 /shared/src | |
parent | 93a5011eb2ef79b8a0ed6f1a197357c5a19d1463 (diff) | |
parent | 4e68548c1a28746fdd74a7465a12fb9e67856044 (diff) | |
download | vaadin-framework-327399e9abeaae43f83919246c3df33a33ed6161.tar.gz vaadin-framework-327399e9abeaae43f83919246c3df33a33ed6161.zip |
Merge remote-tracking branch 'origin/master' into grid
Change-Id: I7af5740a55f2a3f0239f0a4b5544179c3e52a8cd
Diffstat (limited to 'shared/src')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java b/shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java index ad0f34c862..768183cf73 100644 --- a/shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java +++ b/shared/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java @@ -1,12 +1,12 @@ /* * Copyright 2000-2014 Vaadin Ltd. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -17,7 +17,9 @@ package com.vaadin.shared.ui.gridlayout; import java.io.Serializable; import java.util.HashMap; +import java.util.HashSet; import java.util.Map; +import java.util.Set; import com.vaadin.shared.Connector; import com.vaadin.shared.ui.AbstractLayoutState; @@ -33,6 +35,9 @@ public class GridLayoutState extends AbstractLayoutState { public int rows = 0; public int columns = 0; public int marginsBitmask = 0; + // Set of indexes of implicitly Ratios rows and columns + public Set<Integer> explicitRowRatios = new HashSet<Integer>();; + public Set<Integer> explicitColRatios = new HashSet<Integer>(); public Map<Connector, ChildComponentData> childData = new HashMap<Connector, GridLayoutState.ChildComponentData>(); public static class ChildComponentData implements Serializable { @@ -41,5 +46,6 @@ public class GridLayoutState extends AbstractLayoutState { public int column2; public int row2; public int alignment = ALIGNMENT_DEFAULT.getBitMask(); + } } |