]> source.dussan.org Git - gwtquery.git/commitdiff
Revert Float class
authorManolo Carrasco <manolo@apache.org>
Mon, 2 May 2011 15:06:01 +0000 (15:06 +0000)
committerManolo Carrasco <manolo@apache.org>
Mon, 2 May 2011 15:06:01 +0000 (15:06 +0000)
gwtquery-core/src/main/java/com/google/gwt/query/client/css/Float.java [deleted file]
gwtquery-core/src/main/java/com/google/gwt/query/client/css/FloatProperty.java
gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCssTest.java

diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/Float.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/Float.java
deleted file mode 100644 (file)
index cf74a88..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package com.google.gwt.query.client.css;
-
-import com.google.gwt.dom.client.Style.HasCssName;
-
-/**
- * Enum for the float property.
- */
-public enum Float implements HasCssName {
-  LEFT {
-    @Override
-    public String getCssName() {
-      return "left";
-    }
-  },
-  RIGHT {
-    @Override
-    public String getCssName() {
-      return "right";
-    }
-  },
-  NONE {
-    @Override
-    public String getCssName() {
-      return "none";
-    }
-  };
-  public abstract String getCssName();
-}
\ No newline at end of file
index 33cbfcfa2d1151e056b036b9f10cf905091ff480..5bdc6ad140357b91cbe7570a837fdad6fd0a1c0f 100644 (file)
@@ -16,6 +16,7 @@
 package com.google.gwt.query.client.css;
 
 import com.google.gwt.dom.client.Style;
+import com.google.gwt.dom.client.Style.Float;
 
 /**
  * This property specifies whether a box should float to the left, right, or not
index 30137d874256291889f7f80bd992761d9b7c1c34..6717393b94e2823ceab9ef305d1c5aa5e2cfb13e 100644 (file)
@@ -50,7 +50,7 @@ import com.google.gwt.query.client.css.TextAlignProperty.TextAlign;
 import com.google.gwt.query.client.css.TextTransformProperty.TextTransform;
 import com.google.gwt.query.client.css.UnicodeBidiProperty.UnicodeBidi;
 import com.google.gwt.query.client.css.UriValue;
-import com.google.gwt.query.client.css.Float;
+import com.google.gwt.dom.client.Style.Float;
 
 import com.google.gwt.query.client.css.WhiteSpaceProperty.WhiteSpace;
 import com.google.gwt.user.client.ui.HTML;