summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Accessibility
diff options
context:
space:
mode:
authorCarolyn MacLeod <carolyn>2002-03-08 16:21:20 +0000
committerCarolyn MacLeod <carolyn>2002-03-08 16:21:20 +0000
commitc17698199bfc237b297f3294647b7fdc0dd71b62 (patch)
tree1484a9fae3d8dcc60c9bb81288e992bcb4b75c22 /bundles/org.eclipse.swt/Eclipse SWT Accessibility
parent5d3559df843701d583ee279c7da69440cb075071 (diff)
downloadeclipse.platform.swt-c17698199bfc237b297f3294647b7fdc0dd71b62.tar.gz
eclipse.platform.swt-c17698199bfc237b297f3294647b7fdc0dd71b62.tar.xz
eclipse.platform.swt-c17698199bfc237b297f3294647b7fdc0dd71b62.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Accessibility')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/ACC.java9
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleControlAdapter.java11
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleControlListener.java49
3 files changed, 35 insertions, 34 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/ACC.java b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/ACC.java
index 4c5c4ebc3d..ac6a9210a0 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/ACC.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/ACC.java
@@ -59,15 +59,6 @@ public class ACC {
public static final int ROLE_SLIDER = 0x33;
public static final int ROLE_PAGETABLIST = 0x3c;
- public static final int NAVDIR_UP = 0x1;
- public static final int NAVDIR_DOWN = 0x2;
- public static final int NAVDIR_LEFT = 0x3;
- public static final int NAVDIR_RIGHT = 0x4;
- public static final int NAVDIR_NEXT = 0x5;
- public static final int NAVDIR_PREVIOUS = 0x6;
- public static final int NAVDIR_FIRSTCHILD = 0x7;
- public static final int NAVDIR_LASTCHILD = 0x8;
-
public static final int CHILDID_SELF = -1;
public static final int CHILDID_NONE = -2;
public static final int CHILDID_MULTIPLE = -3; // look for a better solution...
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleControlAdapter.java b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleControlAdapter.java
index 7aa3f0369d..a733fcf6cb 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleControlAdapter.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleControlAdapter.java
@@ -32,16 +32,6 @@ package org.eclipse.swt.accessibility;
*/
public abstract class AccessibleControlAdapter implements AccessibleControlListener {
- /**
- * Sent when an accessibility client requests the identifier
- * of the control child at the specified display coordinates.
- * The default behavior is to do nothing.
- *
- * @param e an event object containing the following fields:<ul>
- * <li>x, y [IN] - the specified point in display coordinates</li>
- * <li>childID [OUT] - the ID of the child at point, or CHILDID_SELF, or CHILDID_NONE</li>
- * </ul>
- */
public void hitTest(AccessibleControlEvent e) {
}
@@ -75,7 +65,6 @@ public abstract class AccessibleControlAdapter implements AccessibleControlListe
public void getValue(AccessibleControlEvent e) {
}
- // May need to implement for IEnumVARIANT
public void getChildren(AccessibleControlEvent e) {
}
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleControlListener.java b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleControlListener.java
index 2d01116178..2d8c4fcab5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleControlListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleControlListener.java
@@ -36,7 +36,42 @@ import org.eclipse.swt.internal.SWTEventListener;
*/
public interface AccessibleControlListener extends SWTEventListener {
+ /**
+ * Sent when an accessibility client requests the identifier
+ * of the control child at the specified display coordinates.
+ * The default behavior is to do nothing.
+ * <p>
+ * Return the identifier of the child at display point (x, y)
+ * in the <code>childID</code> field of the event object.
+ * Return CHILDID_SELF if point (x, y) is in the control itself
+ * and not in any child. Return CHILDID_NONE if point (x, y)
+ * is not contained in either the control or any of its children.
+ * </p>
+ *
+ * @param e an event object containing the following fields:<ul>
+ * <li>x, y [IN] - the specified point in display coordinates</li>
+ * <li>childID [OUT] - the ID of the child at point, or CHILDID_SELF, or CHILDID_NONE</li>
+ * </ul>
+ */
public void hitTest(AccessibleControlEvent e);
+
+ /**
+ * Sent when an accessibility client requests the location
+ * of the control, or the location of a child of the control.
+ * The default behavior is to do nothing.
+ * <p>
+ * Return the identifier of the child at display point (x, y)
+ * in the <code>childID</code> field of the event object.
+ * Return CHILDID_SELF if point (x, y) is in the control itself
+ * and not in any child. Return CHILDID_NONE if point (x, y)
+ * is not contained in either the control or any of its children.
+ * </p>
+ *
+ * @param e an event object containing the following fields:<ul>
+ * <li>x, y [IN] - the specified point in display coordinates</li>
+ * <li>childID [OUT] - the ID of the child at point, or CHILDID_SELF, or CHILDID_NONE</li>
+ * </ul>
+ */
public void getLocation(AccessibleControlEvent e);
public void getChild(AccessibleControlEvent e);
public void getChildCount(AccessibleControlEvent e);
@@ -46,19 +81,5 @@ public interface AccessibleControlListener extends SWTEventListener {
public void getSelection(AccessibleControlEvent e);
public void getState(AccessibleControlEvent e);
public void getValue(AccessibleControlEvent e);
-
- // May need to implement for IEnumVARIANT
public void getChildren(AccessibleControlEvent e);
-
- // May not implement - not sure what clients use these
- public void navigate(AccessibleControlEvent e);
- //public void accDoDefaultAction(AccessibleControlEvent e);
- //public void accSelect(AccessibleControlEvent e);
-
- // Probably won't implement - the usual parent is probably good enough
- //public void getParent(AccessibleControlEvent e);
-
- // Will not implement
- //public void putName(AccessibleControlEvent e);
- //public void putValue(AccessibleControlEvent e);
}