changeset 7681:8f77e2f47662

RT-37959: [Accessibility] Review a11y enums Removed AccessibleRole#HEADER, not used. Note AccessileAttribute#HEADER is used and stays
author Felipe Heidrich <felipe.heidrich@oracle.com>
date Thu, 14 Aug 2014 12:46:44 -0700
parents 9ba20c17e0f9
children 7ade5c95d0fc
files modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java modules/graphics/src/main/java/javafx/scene/AccessibleRole.java
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java	Thu Aug 14 12:42:21 2014 -0700
+++ b/modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccessible.java	Thu Aug 14 12:46:44 2014 -0700
@@ -201,7 +201,7 @@
     static enum MacRole {
         NSAccessibilityUnknownRole(AccessibleRole.NODE, null, null),
         NSAccessibilityGroupRole(AccessibleRole.PARENT, null, null),
-        NSAccessibilityButtonRole(new AccessibleRole[] {AccessibleRole.BUTTON, AccessibleRole.INCREMENT_BUTTON, AccessibleRole.DECREMENT_BUTTON, AccessibleRole.HEADER, AccessibleRole.SPLIT_MENU_BUTTON},
+        NSAccessibilityButtonRole(new AccessibleRole[] {AccessibleRole.BUTTON, AccessibleRole.INCREMENT_BUTTON, AccessibleRole.DECREMENT_BUTTON, AccessibleRole.SPLIT_MENU_BUTTON},
             new MacAttribute[] {
                 MacAttribute.NSAccessibilityEnabledAttribute,
                 MacAttribute.NSAccessibilityTitleAttribute,
@@ -482,7 +482,6 @@
 
     static enum MacSubrole {
         NSAccessibilityTableRowSubrole(AccessibleRole.LIST_ITEM, AccessibleRole.TABLE_ROW),
-        NSAccessibilitySortButtonSubrole(AccessibleRole.HEADER),
         NSAccessibilitySecureTextFieldSubrole(AccessibleRole.PASSWORD_FIELD),
         NSAccessibilityOutlineRowSubrole(new AccessibleRole[] { AccessibleRole.TREE_ITEM, AccessibleRole.TREE_TABLE_ROW },
             new MacAttribute[] {
--- a/modules/graphics/src/main/java/javafx/scene/AccessibleRole.java	Thu Aug 14 12:42:21 2014 -0700
+++ b/modules/graphics/src/main/java/javafx/scene/AccessibleRole.java	Thu Aug 14 12:46:44 2014 -0700
@@ -147,11 +147,6 @@
     DECREMENT_BUTTON,
 
     /**
-     * Header. - NOT USED
-     */
-    HEADER,
-
-    /**
      * Hyperlink role.
      * </p>
      * <ul>