summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java')
-rw-r--r--src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java b/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java
new file mode 100644
index 0000000000..9179a61d27
--- /dev/null
+++ b/src/com/vaadin/shared/ui/gridlayout/GridLayoutState.java
@@ -0,0 +1,37 @@
+/*
+@VaadinApache2LicenseForJavaFiles@
+ */
+package com.vaadin.shared.ui.gridlayout;
+
+import com.vaadin.shared.ui.AbstractLayoutState;
+
+public class GridLayoutState extends AbstractLayoutState {
+ private boolean spacing = false;
+ private int rows = 0;
+ private int columns = 0;
+
+ public boolean isSpacing() {
+ return spacing;
+ }
+
+ public void setSpacing(boolean spacing) {
+ this.spacing = spacing;
+ }
+
+ public int getRows() {
+ return rows;
+ }
+
+ public void setRows(int rows) {
+ this.rows = rows;
+ }
+
+ public int getColumns() {
+ return columns;
+ }
+
+ public void setColumns(int cols) {
+ columns = cols;
+ }
+
+} \ No newline at end of file