summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--javax/accessibility/AccessibleAction.java16
-rw-r--r--javax/accessibility/AccessibleRole.java13
3 files changed, 37 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ddef7534e..685445ca0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2008-01-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
+ * javax/accessibility/AccessibleAction.java:
+ (CLICK): Added.
+ (TOGGLE_POPUP): Likewise.
+ * javax/accessbiility/AccessibleRole.java:
+ (HTML_CONTAINER): Added.
+
+2008-01-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
* javax/accessibility/AccessibleAttributeSequence.java:
(AccessibleAttributeSequence(int,int,AttributeSet)):
Implemented.
diff --git a/javax/accessibility/AccessibleAction.java b/javax/accessibility/AccessibleAction.java
index a7cf05e4a..c2e007141 100644
--- a/javax/accessibility/AccessibleAction.java
+++ b/javax/accessibility/AccessibleAction.java
@@ -78,6 +78,22 @@ public interface AccessibleAction
static final String TOGGLE_EXPAND = "toggle expand";
/**
+ * The name of an action which causes a component to perform its default
+ * action.
+ *
+ * @since 1.6
+ */
+ static final String CLICK = "click";
+
+ /**
+ * The name of an action which toggles the state of a popup, causing a
+ * hidden popup to be displayed and a visible popup to be hidden.
+ *
+ * @since 1.6
+ */
+ static final String TOGGLE_POPUP = "toggle popup";
+
+ /**
* Get the number possible actions for this object, with the zeroth
* representing the default action.
*
diff --git a/javax/accessibility/AccessibleRole.java b/javax/accessibility/AccessibleRole.java
index a5396f147..c568b4fe9 100644
--- a/javax/accessibility/AccessibleRole.java
+++ b/javax/accessibility/AccessibleRole.java
@@ -517,6 +517,19 @@ public class AccessibleRole extends AccessibleBundle
= new AccessibleRole("ruler");
/**
+ * A HTML container is an accessible object which contains other
+ * accessible objects that together form some HTML content. For example,
+ * the content may be a sequence of text containing a link, which
+ * would be represent as two children, one an {@link AccessibleText}
+ * object holding the normal text and the other an
+ * {@link AccessibleHypertext} object representing the link.
+ *
+ * @since 1.6
+ */
+ public static final AccessibleRole HTML_CONTAINER
+ = new AccessibleRole("HTML container");
+
+ /**
* Create a new constant with a locale independent key. Follow the example,
* keep the constructor private and make public constants instead.
*