KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > accessibility > AccessibleContext


1 /*
2    SwingWT
3    Copyright(c)2003-2004, R. Rawson-Tetley
4  
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7  
8    Contact me by electronic mail: bobintetley@users.sourceforge.net
9  
10    $Log: AccessibleContext.java,v $
11    Revision 1.2 2004/04/15 09:27:26 bobintetley
12    Accessibility/Component UI stuff (Dan Naab)
13
14    Revision 1.1 2004/02/19 10:01:30 bobintetley
15    Stubbed version for GCJ compatibility
16
17  */

18
19 package swingwtx.accessibility;
20
21 import swingwt.awt.IllegalComponentStateException;
22
23 import java.beans.PropertyChangeListener JavaDoc;
24 import java.util.Locale JavaDoc;
25
26 /**
27  * TODO: Implement
28  * @author Naab
29  * @version %I%, %G%
30  */

31 public abstract class AccessibleContext
32 {
33     /** abstract method definitions */
34     public abstract int getAccessibleIndexInParent();
35     public abstract int getAccessibleChildrenCount();
36     public abstract Accessible getAccessibleChild(int i);
37     public abstract Locale JavaDoc getLocale() throws IllegalComponentStateException;
38
39     public String JavaDoc getAccessibleName() { return null; }
40     public void setAccessibleName(String JavaDoc s) {}
41     public String JavaDoc getAccessibleDescription() { return null; }
42     public void setAccessibleDescription(String JavaDoc s) {}
43     public abstract AccessibleRole getAccessibleRole();
44     public abstract AccessibleStateSet getAccessibleStateSet();
45     public Accessible getAccessibleParent() { return null; }
46     public void setAccessibleParent(Accessible a) {}
47
48     /** TODO: Implement PropertyChange support */
49     public void addPropertyChangeListener(PropertyChangeListener JavaDoc listener) {}
50     public void removePropertyChangeListener(PropertyChangeListener JavaDoc listener) {}
51     public void firePropertyChange(String JavaDoc propertyName, Object JavaDoc oldValue, Object JavaDoc newValue) {}
52
53     public AccessibleAction getAccessibleAction() { return null; }
54     public AccessibleComponent getAccessibleComponent() { return null; }
55     public AccessibleSelection getAccessibleSelection() { return null; }
56     public AccessibleText getAccessibleText() { return null; }
57     public AccessibleEditableText getAccessibleEditableText() { return null; }
58     public AccessibleValue getAccessibleValue() { return null; }
59     public AccessibleIcon[] getAccessibleIcon() { return null; }
60     public AccessibleRelationSet getAccessibleRelationSet() { return null; }
61     public AccessibleTable getAccessibleTable() { return null; }
62 }
63
Popular Tags