Fixed missing javadoc in the Style object.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2662 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/dom/client/Style.java b/user/src/com/google/gwt/dom/client/Style.java
index 76e0fd0..51d4641 100644
--- a/user/src/com/google/gwt/dom/client/Style.java
+++ b/user/src/com/google/gwt/dom/client/Style.java
@@ -18,7 +18,9 @@
import com.google.gwt.core.client.JavaScriptObject;
/**
- * TODO
+ * Provides programmatic access to properties of the style object.
+ *
+ * @see Element#getStyle()
*/
public class Style extends JavaScriptObject {
@@ -26,21 +28,23 @@
}
/**
- * TODO
+ * Gets the value of a named property.
*/
public final native String getProperty(String name) /*-{
return this[name] || '';
}-*/;
/**
- * TODO
+ * Sets the value of a named property.
*/
public final native void setProperty(String name, String value) /*-{
this[name] = value;
}-*/;
/**
- * TODO
+ * Sets the value of a named property, in pixels.
+ *
+ * This is shorthand for <code>value + "px"</code>.
*/
public final native void setPropertyPx(String name, int value) /*-{
this[name] = value + "px";