1. /*
  2. * @(#)Accessible.java 1.31 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.accessibility;
  8. /**
  9. * Interface Accessible is the main interface for the accessibility package.
  10. * All components that support
  11. * the accessibility package must implement this interface.
  12. * It contains a single method, {@link #getAccessibleContext}, which
  13. * returns an instance of the class {@link AccessibleContext}.
  14. *
  15. * @version 1.1 11/24/97 20:34:48
  16. * @author Peter Korn
  17. * @author Hans Muller
  18. * @author Willie Walker
  19. */
  20. public interface Accessible {
  21. /**
  22. * Returns the AccessibleContext associated with this object. In most
  23. * cases, the return value should not be null if the object implements
  24. * interface Accessible. If a component developer creates a subclass
  25. * of an object that implements Accessible, and that subclass
  26. * is not Accessible, the developer should override the
  27. * getAccessibleContext method to return null.
  28. */
  29. public AccessibleContext getAccessibleContext();
  30. }