Revision: 9613
Author: p...@google.com
Date: Tue Jan 25 09:01:38 2011
Log: Remove experimental warning from Canvas and clean up javadoc.
Review at http://gwt-code-reviews.appspot.com/1286802
Review by: rj...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=9613
Modified:
/trunk/user/src/com/google/gwt/canvas/client/Canvas.java
/trunk/user/src/com/google/gwt/canvas/dom/client/CanvasGradient.java
/trunk/user/src/com/google/gwt/canvas/dom/client/CanvasPattern.java
/trunk/user/src/com/google/gwt/canvas/dom/client/CanvasPixelArray.java
/trunk/user/src/com/google/gwt/canvas/dom/client/Context.java
/trunk/user/src/com/google/gwt/canvas/dom/client/Context2d.java
/trunk/user/src/com/google/gwt/canvas/dom/client/CssColor.java
/trunk/user/src/com/google/gwt/canvas/dom/client/FillStrokeStyle.java
/trunk/user/src/com/google/gwt/canvas/dom/client/ImageData.java
/trunk/user/src/com/google/gwt/canvas/dom/client/TextMetrics.java
/trunk/user/src/com/google/gwt/dom/client/CanvasElement.java
=======================================
--- /trunk/user/src/com/google/gwt/canvas/client/Canvas.java Mon Jan 24
12:09:10 2011
+++ /trunk/user/src/com/google/gwt/canvas/client/Canvas.java Tue Jan 25
09:01:38 2011
@@ -26,12 +26,6 @@
/**
* A widget representing a <canvas> element.
*
- * <p>
- * <span style="color:red">Experimental API: This API is still under
development
- * and is subject to change.
- * </span>
- * </p>
- *
* This widget may not be supported on all browsers.
*/
@PartialSupport
=======================================
--- /trunk/user/src/com/google/gwt/canvas/dom/client/CanvasGradient.java
Thu Jan 13 05:38:38 2011
+++ /trunk/user/src/com/google/gwt/canvas/dom/client/CanvasGradient.java
Tue Jan 25 09:01:38 2011
@@ -17,17 +17,12 @@
/**
* Gradient object used with {@link Context2d}.
- *
- * <p>
- * <span style="color:red">Experimental API: This API is still under
development
- * and is subject to change.
- * </span>
- * </p>
- *
+ *
* This class serves as a reference to a gradient created using
* {@link Context2d#createPattern}.
- *
- * @see <a href="http://www.w3.org/TR/2dcontext/#canvasgradient">HTML
Canvas 2D CanvasGradient</a>
+ *
+ * @see <a href="http://www.w3.org/TR/2dcontext/#canvasgradient">HTML
Canvas 2D
+ * CanvasGradient</a>
*/
public class CanvasGradient extends FillStrokeStyle {
=======================================
--- /trunk/user/src/com/google/gwt/canvas/dom/client/CanvasPattern.java Thu
Jan 13 05:38:38 2011
+++ /trunk/user/src/com/google/gwt/canvas/dom/client/CanvasPattern.java Tue
Jan 25 09:01:38 2011
@@ -17,17 +17,12 @@
/**
* Pattern object used with {@link Context2d}.
- *
- * <p>
- * <span style="color:red">Experimental API: This API is still under
development
- * and is subject to change.
- * </span>
- * </p>
- *
+ *
* Note that this class has no methods. It simply serves as a reference to
a
* pattern created using {@link Context2d#createPattern}.
- *
- * @see <a href="http://www.w3.org/TR/2dcontext/#canvaspattern">HTML
Canvas 2D CanvasPattern</a>
+ *
+ * @see <a href="http://www.w3.org/TR/2dcontext/#canvaspattern">HTML
Canvas 2D
+ * CanvasPattern</a>
*/
public class CanvasPattern extends FillStrokeStyle {
=======================================
--- /trunk/user/src/com/google/gwt/canvas/dom/client/CanvasPixelArray.java
Thu Jan 13 05:38:38 2011
+++ /trunk/user/src/com/google/gwt/canvas/dom/client/CanvasPixelArray.java
Tue Jan 25 09:01:38 2011
@@ -18,20 +18,13 @@
import com.google.gwt.core.client.JavaScriptObject;
/**
- * Array-like object holding the actual image data for an ImageData
object. For each pixel,
- * this object contains a red, green, blue and alpha value between 0 and
255 (in this order).
- * Note that we use ints here to represent the data to avoid complexities
stemming from
- * bytes being signed in Java.
+ * Array-like object holding the actual image data for an ImageData
object. For
+ * each pixel, this object contains a red, green, blue and alpha value
between 0
+ * and 255 (in this order). Note that we use ints here to represent the
data to
+ * avoid complexities stemming from bytes being signed in Java.
*
- * <p>
- * <span style="color:red">Experimental API: This API is still under
development
- * and is subject to change.
- * </span>
- * </p>
- *
- * <p>
- * @see <a href="http://www.w3.org/TR/2dcontext/#canvaspixelarray">HTML
Canvas 2D CanvasPixelArray</a>
- * </p>
+ * @see <a href="http://www.w3.org/TR/2dcontext/#canvaspixelarray">HTML
Canvas
+ * 2D CanvasPixelArray</a>
*/
public class CanvasPixelArray extends JavaScriptObject {
@@ -67,7 +60,8 @@
* @param value value to set (use values from 0 to 255)
*/
public final native void set(int i, int value) /*-{
- // FF3.0 doesn't clamp the range. We don't manually clamp it to
maximize performance.
+ // FF3.0 doesn't clamp the range. We don't manually clamp it to
maximize
+ // performance.
this[i] = value;
}-*/;
}
=======================================
--- /trunk/user/src/com/google/gwt/canvas/dom/client/Context.java Thu Jan
13 05:38:38 2011
+++ /trunk/user/src/com/google/gwt/canvas/dom/client/Context.java Tue Jan
25 09:01:38 2011
@@ -18,12 +18,6 @@
/**
* Rendering Context interface used to draw on a
* {@link com.google.gwt.dom.client.CanvasElement}.
- *
- * <p>
- * <span style="color:red">Experimental API: This API is still under
development
- * and is subject to change.
- * </span>
- * </p>
*/
public interface Context {
=======================================
--- /trunk/user/src/com/google/gwt/canvas/dom/client/Context2d.java Thu Jan
13 05:38:38 2011
+++ /trunk/user/src/com/google/gwt/canvas/dom/client/Context2d.java Tue Jan
25 09:01:38 2011
@@ -23,12 +23,6 @@
/**
* Rendering interface used to draw on a {@link CanvasElement}.
*
- * <p>
- * <span style="color:red">Experimental API: This API is still under
development
- * and is subject to change.
- * </span>
- * </p>
- *
* @see <a
href="http://www.w3.org/TR/2dcontext/#canvasrenderingcontext2d">W3C
* HTML 5 Specification</a>
*/
=======================================
--- /trunk/user/src/com/google/gwt/canvas/dom/client/CssColor.java Thu Jan
13 05:38:38 2011
+++ /trunk/user/src/com/google/gwt/canvas/dom/client/CssColor.java Tue Jan
25 09:01:38 2011
@@ -17,20 +17,15 @@
/**
* CSS Color object.
- *
- * <p>
- * <span style="color:red">Experimental API: This API is still under
development
- * and is subject to change.
- * </span>
- * </p>
- *
+ *
* <p>
* To handle dev mode we must wrap JSO strings in an array. Therefore,
when in
* dev mode, CssColor is actually an array with one element that is the
JSO. In
* Production Mode, this is not needed.
* </p>
- *
- * @see <a href="http://www.w3.org/TR/CSS1/#color">Cascading Style Sheets,
level 1</a>
+ *
+ * @see <a href="http://www.w3.org/TR/CSS1/#color">Cascading Style Sheets,
level
+ * 1</a>
*/
public class CssColor extends FillStrokeStyle {
=======================================
--- /trunk/user/src/com/google/gwt/canvas/dom/client/FillStrokeStyle.java
Thu Jan 13 05:38:38 2011
+++ /trunk/user/src/com/google/gwt/canvas/dom/client/FillStrokeStyle.java
Tue Jan 25 09:01:38 2011
@@ -21,12 +21,6 @@
/**
* Represents a {@link CssColor}, {@link CanvasGradient}, or
* {@link CanvasPattern} that is used for stroke and fill.
- *
- * <p>
- * <span style="color:red">Experimental API: This API is still under
development
- * and is subject to change.
- * </span>
- * </p>
*/
public class FillStrokeStyle extends JavaScriptObject {
=======================================
--- /trunk/user/src/com/google/gwt/canvas/dom/client/ImageData.java Thu Jan
13 05:38:38 2011
+++ /trunk/user/src/com/google/gwt/canvas/dom/client/ImageData.java Tue Jan
25 09:01:38 2011
@@ -18,15 +18,10 @@
import com.google.gwt.core.client.JavaScriptObject;
/**
- * Object that holds image data and a size.
- *
- * <p>
- * <span style="color:red">Experimental API: This API is still under
development
- * and is subject to change.
- * </span>
- * </p>
+ * Object that holds image data and a size.
*
- * @see <a href="http://www.w3.org/TR/2dcontext/#imagedata">HTML Canvas 2D
ImageData</a>
+ * @see <a href="http://www.w3.org/TR/2dcontext/#imagedata">HTML Canvas 2D
+ * ImageData</a>
*/
public class ImageData extends JavaScriptObject {
=======================================
--- /trunk/user/src/com/google/gwt/canvas/dom/client/TextMetrics.java Thu
Jan 13 05:38:38 2011
+++ /trunk/user/src/com/google/gwt/canvas/dom/client/TextMetrics.java Tue
Jan 25 09:01:38 2011
@@ -19,14 +19,9 @@
/**
* HTML 5 Canvas text metrics.
- *
- * <p>
- * <span style="color:red">Experimental API: This API is still under
development
- * and is subject to change.
- * </span>
- * </p>
*
- * @see <a href="http://www.w3.org/TR/2dcontext/#textmetrics">HTML Canvas
2D TextMetrics</a>
+ * @see <a href="http://www.w3.org/TR/2dcontext/#textmetrics">HTML Canvas
2D
+ * TextMetrics</a>
*/
public class TextMetrics extends JavaScriptObject {
=======================================
--- /trunk/user/src/com/google/gwt/dom/client/CanvasElement.java Thu Jan 13
05:38:38 2011
+++ /trunk/user/src/com/google/gwt/dom/client/CanvasElement.java Tue Jan 25
09:01:38 2011
@@ -21,12 +21,6 @@
/**
* Canvas element.
*
- * <p>
- * <span style="color:red">Experimental API: This API is still under
development
- * and is subject to change.
- * </span>
- * </p>
- *
* @see <a href="http://www.w3.org/TR/html5/#canvas">W3C HTML 5
Specification</a>
*/
@TagName(CanvasElement.TAG)
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors