diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-11-29 00:27:03 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-11-29 16:58:16 +0100 |
commit | 70626249cd247d9acdad417b8eaf252bae22c059 (patch) | |
tree | 2327193318672b583f12be99cdcaec5ef4d3830d /toolkit/qa/complex | |
parent | dda524a71145441b336f5f9f6e559fa31d32d3d2 (diff) |
API CHANGE a11y unpublishing and add/removeListener rename.
The a11y API has never really been picked up by tools vendors, let's
not tie ourselves up here for no good reason.
This unpublishes all css::accessibility, and dependend API.
With that, we can change the rather unfortunately-named add/
removeEventListener to be add/removeAccessibleEventListener, thus
not conflicting with the XComponent methods of the same name.
Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
Diffstat (limited to 'toolkit/qa/complex')
-rw-r--r-- | toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java index 152f4285485e..1ae2b353ba88 100644 --- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java +++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleEventBroadcaster.java @@ -35,8 +35,8 @@ import com.sun.star.uno.UnoRuntime; * com.sun.star.accessibility.XAccessibleEventBroadcaster</code> * interface methods : * <ul> - * <li><code> addEventListener()</code></li> - * <li><code> removeEventListener()</code></li> + * <li><code> addAccessibleEventEventListener()</code></li> + * <li><code> removeAccessibleEventEventListener()</code></li> * </ul> <p> * * This test needs the following object relations : @@ -115,7 +115,7 @@ public class _XAccessibleEventBroadcaster { */ public boolean _addEventListener() { System.out.println("adding two listeners"); - oObj.addEventListener(list); + oObj.addAccessibleEventEventListener(list); boolean isTransient = chkTransient(oObj); System.out.println("fire event"); prod.fireEvent() ; @@ -135,7 +135,7 @@ public class _XAccessibleEventBroadcaster { } else { System.out.println("Object is Transient, listener isn't expected to be called"); } - oObj.removeEventListener(list); + oObj.removeAccessibleEventEventListener(list); } return works; @@ -158,7 +158,7 @@ public class _XAccessibleEventBroadcaster { list.notifiedEvent = null; System.out.println("remove first listener"); - oObj.removeEventListener(list); + oObj.removeAccessibleEventEventListener(list); System.out.println("fire event"); prod.fireEvent() ; |