1. /*
  2. * @(#)AccessibleExtendedComponent.java 1.4 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.accessibility;
  8. /**
  9. * The AccessibleExtendedComponent interface should be supported by any object
  10. * that is rendered on the screen. This interface provides the standard
  11. * mechanism for an assistive technology to determine the extended
  12. * graphical representation of an object. Applications can determine
  13. * if an object supports the AccessibleExtendedComponent interface by first
  14. * obtaining its AccessibleContext
  15. * and then calling the
  16. * {@link AccessibleContext#getAccessibleComponent} method.
  17. * If the return value is not null and the type of the return value is
  18. * AccessibleEditableComponent, the object supports this interface.
  19. *
  20. * @see Accessible
  21. * @see Accessible#getAccessibleContext
  22. * @see AccessibleContext
  23. * @see AccessibleContext#getAccessibleComponent
  24. *
  25. * @version 1.4 12/19/03
  26. * @author Lynn Monsanto
  27. */
  28. public interface AccessibleExtendedComponent extends AccessibleComponent {
  29. /**
  30. * Returns the tool tip text
  31. *
  32. * @return the tool tip text, if supported, of the object;
  33. * otherwise, null
  34. */
  35. public String getToolTipText();
  36. /**
  37. * Returns the titled border text
  38. *
  39. * @return the titled border text, if supported, of the object;
  40. * otherwise, null
  41. */
  42. public String getTitledBorderText();
  43. /**
  44. * Returns key bindings associated with this object
  45. *
  46. * @return the key bindings, if supported, of the object;
  47. * otherwise, null
  48. * @see AccessibleKeyBinding
  49. */
  50. public AccessibleKeyBinding getAccessibleKeyBinding();
  51. }