This patch (committed) marks some accessibility methods as stubs that need to be implemented:

2006-04-20  David Gilbert  <[EMAIL PROTECTED]>

        * javax/swing/JTabbedPane.java
        (AccessibleJTabbedPane.stateChanged): Marked as stub,
        (AccessibleJTabbedPane.getAccessibleRole): Likewise,
        (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
        (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
        (AccessibleJTabbedPane.getAccessibleAt): Likewise,
        (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
        (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
        (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
        (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
        (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
        (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
        (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
        (Page.getAccessibleStateSet): Likewise,
        (Page.getAccessibleIndexInParent): Likewise.

Regards,

Dave
Index: javax/swing/JTabbedPane.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/JTabbedPane.java,v
retrieving revision 1.36
diff -u -r1.36 JTabbedPane.java
--- javax/swing/JTabbedPane.java        30 Mar 2006 14:53:14 -0000      1.36
+++ javax/swing/JTabbedPane.java        20 Apr 2006 06:52:21 -0000
@@ -38,6 +38,8 @@
 
 package javax.swing;
 
+import gnu.classpath.NotImplementedException;
+
 import java.awt.Color;
 import java.awt.Component;
 import java.awt.Point;
@@ -102,6 +104,7 @@
      * @param e the change event describing the change
      */
     public void stateChanged(ChangeEvent e)
+      throws NotImplementedException
     {
       // Implement this properly.
     }
@@ -113,6 +116,7 @@
      * @return the accessible role of the <code>JTabbedPane</code>
      */
     public AccessibleRole getAccessibleRole()
+      throws NotImplementedException
     {
       return null;
     }
@@ -125,6 +129,7 @@
      *         <code>JTabbedPane</code>
      */
     public int getAccessibleChildrenCount()
+      throws NotImplementedException
     {
       return 0;
     }
@@ -153,6 +158,7 @@
      * @return the current selection state of the <code>JTabbedPane</code>
      */
     public AccessibleSelection getAccessibleSelection()
+      throws NotImplementedException
     {
       return null;
     }
@@ -169,6 +175,7 @@
      *         this location
      */
     public Accessible getAccessibleAt(Point p)
+      throws NotImplementedException
     {
       return null;
     }
@@ -183,6 +190,7 @@
      *         <code>JTabbedPane</code>
      */
     public int getAccessibleSelectionCount()
+      throws NotImplementedException
     {
       return 0;
     }
@@ -195,6 +203,7 @@
      * @return DOCUMENT ME!
      */
     public Accessible getAccessibleSelection(int i)
+      throws NotImplementedException
     {
       return null;
     }
@@ -207,6 +216,7 @@
      * @return DOCUMENT ME!
      */
     public boolean isAccessibleChildSelected(int i)
+      throws NotImplementedException
     {
       return false;
     }
@@ -217,6 +227,7 @@
      * @param i DOCUMENT ME!
      */
     public void addAccessibleSelection(int i)
+      throws NotImplementedException
     {
       // TODO: Implement this properly.
     }
@@ -227,6 +238,7 @@
      * @param i DOCUMENT ME!
      */
     public void removeAccessibleSelection(int i)
+      throws NotImplementedException
     {
       // TODO: Implement this properly.
     }
@@ -235,6 +247,7 @@
      * DOCUMENT ME!
      */
     public void clearAccessibleSelection()
+      throws NotImplementedException
     {
       // TODO: Implement this properly.
     }
@@ -243,6 +256,7 @@
      * DOCUMENT ME!
      */
     public void selectAllAccessibleSelection()
+      throws NotImplementedException
     {
       // TODO: Implement this properly.
     }
@@ -595,12 +609,14 @@
     }
 
     public AccessibleStateSet getAccessibleStateSet()
+      throws NotImplementedException
     {
       // FIXME: Implement this properly.
       return null;
     }
 
     public int getAccessibleIndexInParent()
+      throws NotImplementedException
     {
       // FIXME: Implement this properly.
       return 0;

Reply via email to