KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > accessibility > Accessible


1 /*
2  * @(#)Accessible.java 1.36 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  * Interface Accessible is the main interface for the accessibility package.
12  * All components that support
13  * the accessibility package must implement this interface.
14  * It contains a single method, {@link #getAccessibleContext}, which
15  * returns an instance of the class {@link AccessibleContext}.
16  *
17  * @version 1.1 11/24/97 20:34:48
18  * @author Peter Korn
19  * @author Hans Muller
20  * @author Willie Walker
21  */

22 public interface Accessible {
23
24     /**
25      * Returns the AccessibleContext associated with this object. In most
26      * cases, the return value should not be null if the object implements
27      * interface Accessible. If a component developer creates a subclass
28      * of an object that implements Accessible, and that subclass
29      * is not Accessible, the developer should override the
30      * getAccessibleContext method to return null.
31      */

32     public AccessibleContext JavaDoc getAccessibleContext();
33 }
34
Popular Tags