changeset 5242:51aa0b68a442

RT-33231: [JAVADOC] PhongMaterial JavaDoc fixes and clarifications Summary: Fix format errors and Add spec that bumpMap property requires a normal map. Reviewed-by: kcr
author Yao Wang <yao.w.wang@oracle.com>
date Wed, 02 Oct 2013 18:06:32 -0700
parents bed4d07b03e8
children 5677ce5e6af3
files modules/graphics/src/main/java/javafx/scene/paint/PhongMaterial.java
diffstat 1 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/javafx/scene/paint/PhongMaterial.java	Wed Oct 02 17:49:26 2013 -0700
+++ b/modules/graphics/src/main/java/javafx/scene/paint/PhongMaterial.java	Wed Oct 02 18:06:32 2013 -0700
@@ -75,7 +75,7 @@
     }
 
     /**
-     * Specifies the diffuse color of this Material.
+     * The diffuse color of this {@code PhongMaterial}.
      *
      * @defaultValue Color.WHITE
      */
@@ -104,7 +104,7 @@
     }
     
     /**
-     * Specifies the specular color of this Material.
+     * The specular color of this {@code PhongMaterial}.
      *
      * @defaultValue null
      */
@@ -133,7 +133,7 @@
     }
 
     /**
-     * Defines the specular power of this Material.
+     * The specular power of this {@code PhongMaterial}.
      *
      * @defaultValue 1.0
      */
@@ -182,7 +182,7 @@
     };
 
     /**
-     * The diffuse map of this {@code PhongMaterial).
+     * The diffuse map of this {@code PhongMaterial}.
      *
      * @defaultValue null
      */
@@ -231,7 +231,7 @@
     }
 
     /**
-     * The specular map of this {@code PhongMaterial).
+     * The specular map of this {@code PhongMaterial}.
      *
      * @defaultValue null
      */
@@ -281,7 +281,8 @@
     }
 
     /**
-     * The bump map of this {@code PhongMaterial).
+     * The bump map of this {@code PhongMaterial}, which is a normal map stored
+     * as a RGB {@link Image}.
      *
      * @defaultValue null
      */
@@ -331,7 +332,7 @@
     }
 
     /**
-     * The self illumination map of this {@code PhongMaterial).
+     * The self illumination map of this {@code PhongMaterial}.
      *
      * @defaultValue null
      */