aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2011-05-02 15:06:01 +0000
committerManolo Carrasco <manolo@apache.org>2011-05-02 15:06:01 +0000
commitd97f8641d3650a145709e0701301cd228f77a0ad (patch)
treec485563b317665d269d3cc90177503ffac2a25f7
parentc070cb4932a3f2e4fa783a1c9a756025bfb89323 (diff)
downloadgwtquery-d97f8641d3650a145709e0701301cd228f77a0ad.tar.gz
gwtquery-d97f8641d3650a145709e0701301cd228f77a0ad.zip
Revert Float class
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/Float.java28
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/FloatProperty.java1
-rw-r--r--gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCssTest.java2
3 files changed, 2 insertions, 29 deletions
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
index cf74a88b..00000000
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/Float.java
+++ /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
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/FloatProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/FloatProperty.java
index 33cbfcfa..5bdc6ad1 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/FloatProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/FloatProperty.java
@@ -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
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCssTest.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCssTest.java
index 30137d87..6717393b 100644
--- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCssTest.java
+++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCssTest.java
@@ -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;