changeset 7672:027b83703d37

[Accessibility] Update JavaDoc
author Felipe Heidrich <felipe.heidrich@oracle.com>
date Wed, 13 Aug 2014 15:06:43 -0700
parents 088856d1b79a
children 1d9d6fb6de7d
files modules/graphics/src/main/java/javafx/scene/AccessibleAttribute.java modules/graphics/src/main/java/javafx/scene/AccessibleRole.java
diffstat 2 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/javafx/scene/AccessibleAttribute.java	Wed Aug 13 14:50:35 2014 -0700
+++ b/modules/graphics/src/main/java/javafx/scene/AccessibleAttribute.java	Wed Aug 13 15:06:43 2014 -0700
@@ -296,10 +296,10 @@
     PARENT("Parent", Parent.class),
 
     /**
-     * Returns the owner Menu.
+     * Returns the parent menu.
      * Type: Node
      */
-    PARENT_MENU("MenuFor", Node.class),
+    PARENT_MENU("ParentMenu", Node.class),
 
     /**
      * Returns the role for the Node.
@@ -363,10 +363,10 @@
     SELECTION_START("SelectionStart", Integer.class),
 
     /**
-     * Returns the Menu.
+     * Returns the sub menu.
      * Type: Node
      */
-    SUBMENU("Menu", Node.class),
+    SUBMENU("Submenu", Node.class),
 
     /**
      * Returns the title for the Node.
--- a/modules/graphics/src/main/java/javafx/scene/AccessibleRole.java	Wed Aug 13 14:50:35 2014 -0700
+++ b/modules/graphics/src/main/java/javafx/scene/AccessibleRole.java	Wed Aug 13 15:06:43 2014 -0700
@@ -48,7 +48,7 @@
 
     /**
      * Check Menu Item.
-     * Attributes: TITLE, SELECTED, ACCELERATOR, MNEMONIC, DISABLED
+     * Attributes: TITLE, ACCELERATOR, MNEMONIC, DISABLED, SELECTED
      * Actions: FIRE
      */
     CHECK_MENU_ITEM,
@@ -62,8 +62,8 @@
 
     /**
      * Context Menu.
-     * Attributed:
-     * Actions:
+     * Attributed: PARENT_MENU, VISIBLE
+     * Actions: (none)
      */
     CONTEXT_MENU,
 
@@ -124,7 +124,7 @@
 
     /**
      * Menu.
-     * Attributes: TITLE, MENU, ACCELERATOR, MNEMONIC, DISABLED
+     * Attributes: TITLE, ACCELERATOR, MNEMONIC, DISABLED, SUBMENU
      * Actions: FIRE
      */
     MENU,
@@ -201,7 +201,7 @@
 
     /**
      * Radio Menu Item.
-     * Attributes: TITLE, SELECTED, ACCELERATOR, MNEMONIC, DISABLED
+     * Attributes: TITLE, ACCELERATOR, MNEMONIC, DISABLED, SELECTED
      * Actions: FIRE
      */
     RADIO_MENU_ITEM,