changeset 7696:d6e7941a7a9f

[Javadoc only] fix Node a11y doc
author Felipe Heidrich <felipe.heidrich@oracle.com>
date Fri, 15 Aug 2014 12:55:50 -0700
parents 971ac7490e25
children d007aa936d38
files modules/graphics/src/main/java/javafx/scene/Node.java
diffstat 1 files changed, 20 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/javafx/scene/Node.java	Fri Aug 15 15:15:55 2014 -0400
+++ b/modules/graphics/src/main/java/javafx/scene/Node.java	Fri Aug 15 12:55:50 2014 -0700
@@ -9168,9 +9168,13 @@
     }
 
     /**
-     * The role of this {@code Node}.
-     *
-     * @defaultValue Role.NODE
+     * The accessible role for this {@code Node}.
+     * <p>
+     * The screen reader uses the role of a node to determine the
+     * attributes and actions that are supported.
+     *
+     * @defaultValue {@link AccessibleRole#NODE}
+     * @see AccessibleRole
      * 
      * @since JavaFX 8u40
      */
@@ -9186,16 +9190,6 @@
         return roleProperty().get();
     }
     
-    /**
-     * The accessible role for this {@code Node}.
-     * <p>
-     * The screen reader uses the role of a node to determine the
-     * attributes and actions that are supported.
-     *
-     * @defaultValue {@link AccessibleRole.NODE}
-     * 
-     * @since JavaFX 8u40
-     */
     public final ObjectProperty<AccessibleRole> roleProperty() {
         if (role == null) {
             role = new SimpleObjectProperty<AccessibleRole>(this, "role", AccessibleRole.NODE);
@@ -9318,6 +9312,12 @@
     /**
      * This method is called by the assistive technology to request
      * the value for an attribute.
+     * <p>
+     * This method is commonly overridden by subclasses to implement
+     * attributes that are required for a specific role.<br>
+     * If a particular attribute is not handled, the super class implementation
+     * must be called.
+     * </p>
      *
      * @param attribute the requested attribute
      * @param parameters optional list of parameters
@@ -9347,7 +9347,13 @@
     /**
      * This method is called by the assistive technology to request the action
      * indicated by the argument should be executed.
-     *
+     * <p>
+     * This method is commonly overridden by subclasses to implement
+     * action that are required for a specific role.<br>
+     * If a particular action is not handled, the super class implementation
+     * must be called.
+     * </p>
+     * 
      * @param action the action to execute
      * @param parameters optional list of parameters
      *