KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > accessibility > AccessibleExtendedComponent


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
8 package javax.accessibility;
9
10 /**
11  * The AccessibleExtendedComponent interface should be supported by any object
12  * that is rendered on the screen. This interface provides the standard
13  * mechanism for an assistive technology to determine the extended
14  * graphical representation of an object. Applications can determine
15  * if an object supports the AccessibleExtendedComponent interface by first
16  * obtaining its AccessibleContext
17  * and then calling the
18  * {@link AccessibleContext#getAccessibleComponent} method.
19  * If the return value is not null and the type of the return value is
20  * AccessibleEditableComponent, the object supports this interface.
21  *
22  * @see Accessible
23  * @see Accessible#getAccessibleContext
24  * @see AccessibleContext
25  * @see AccessibleContext#getAccessibleComponent
26  *
27  * @version 1.4 12/19/03
28  * @author Lynn Monsanto
29  */

30 public interface AccessibleExtendedComponent extends AccessibleComponent JavaDoc {
31
32     /**
33      * Returns the tool tip text
34      *
35      * @return the tool tip text, if supported, of the object;
36      * otherwise, null
37      */

38     public String JavaDoc getToolTipText();
39
40     /**
41      * Returns the titled border text
42      *
43      * @return the titled border text, if supported, of the object;
44      * otherwise, null
45      */

46     public String JavaDoc getTitledBorderText();
47
48     /**
49      * Returns key bindings associated with this object
50      *
51      * @return the key bindings, if supported, of the object;
52      * otherwise, null
53      * @see AccessibleKeyBinding
54      */

55     public AccessibleKeyBinding JavaDoc getAccessibleKeyBinding();
56 }
57
Popular Tags