Interface com.sun.java.accessibility.Accessible
- public interface Accessible
Interface Accessible is the main interface for the accessibility package.
All components that support
the accessibility package must implement this interface.
It contains a single
method, getAccessibleContext, which
returns an instance of the class
Accessible
Context.
- See Also:
- AccessibleContext
Method Index
- getAccessibleContext()
- Returns the AccessibleContext associated with this object.
Methods
getAccessibleContext
public abstract AccessibleContext getAccessibleContext()
- Returns the AccessibleContext associated with this object. In most
cases, the return value should not be null if the object implements
interface Accessible. If a component developer creates a subclass
of an object that implements Accessible, and that subclass
is not Accessible, the developer should override the
getAccessibleContext method to return null.
