1 18 19 package swingwtx.accessibility; 20 21 import swingwt.awt.IllegalComponentStateException; 22 23 import java.beans.PropertyChangeListener ; 24 import java.util.Locale ; 25 26 31 public abstract class AccessibleContext 32 { 33 34 public abstract int getAccessibleIndexInParent(); 35 public abstract int getAccessibleChildrenCount(); 36 public abstract Accessible getAccessibleChild(int i); 37 public abstract Locale getLocale() throws IllegalComponentStateException; 38 39 public String getAccessibleName() { return null; } 40 public void setAccessibleName(String s) {} 41 public String getAccessibleDescription() { return null; } 42 public void setAccessibleDescription(String 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 49 public void addPropertyChangeListener(PropertyChangeListener listener) {} 50 public void removePropertyChangeListener(PropertyChangeListener listener) {} 51 public void firePropertyChange(String propertyName, Object oldValue, Object 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 |