📄 package-summary.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Thu Apr 27 23:31:51 PDT 2000 --><TITLE>Java 2 Platform SE v1.3: Package javax.accessibility</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../java/util/zip/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../javax/naming/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><H2>Package javax.accessibility</H2>Defines a contract between user-interface components and an assistive technologythat provides access to those components.<P><B>See: </B><BR> <A HREF="#package_description"><B>Description</B></A><P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Interface Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Accessible.html"><I>Accessible</I></A></B></TD><TD>Interface Accessible is the main interface for the accessibility package.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleAction.html"><I>AccessibleAction</I></A></B></TD><TD>The AccessibleAction interface should be supported by any object that can perform one or more actions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleComponent.html"><I>AccessibleComponent</I></A></B></TD><TD>The AccessibleComponent interface should be supported by any object that is rendered on the screen.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleHypertext.html"><I>AccessibleHypertext</I></A></B></TD><TD>The AccessibleHypertext class is the base class for all classes that present hypertext information on the display.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleIcon.html"><I>AccessibleIcon</I></A></B></TD><TD>The AccessibleIcon interface should be supported by any object that has an associated icon (e.g., buttons).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleSelection.html"><I>AccessibleSelection</I></A></B></TD><TD>This AccessibleSelection interface provides the standard mechanism for an assistive technology to determine what the current selected children are, as well as modify the selection set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleTable.html"><I>AccessibleTable</I></A></B></TD><TD>Class AccessibleTable describes a user-interface component that presents data in a two-dimensional table format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleTableModelChange.html"><I>AccessibleTableModelChange</I></A></B></TD><TD>The AccessibleTableModelChange interface describes a change to the table model.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleText.html"><I>AccessibleText</I></A></B></TD><TD>The AccessibleText interface should be implemented by all classes that present textual information on the display.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleValue.html"><I>AccessibleValue</I></A></B></TD><TD>The AccessibleValue interface should be supported by any object that supports a numerical value (e.g., a scroll bar).</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleBundle.html">AccessibleBundle</A></B></TD><TD>Base class used to maintain a strongly typed enumeration.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleContext.html">AccessibleContext</A></B></TD><TD>AccessibleContext represents the minimum information all accessible objects return.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleHyperlink.html">AccessibleHyperlink</A></B></TD><TD>Encapsulation of a link, or set of links (e.g.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleRelation.html">AccessibleRelation</A></B></TD><TD>Class AccessibleRelation describes a relation between the object that implements the AccessibleRelation and one or more other objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleRelationSet.html">AccessibleRelationSet</A></B></TD><TD>Class AccessibleRelationSet determines a component's relation set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleResourceBundle.html">AccessibleResourceBundle</A></B></TD><TD><B>Deprecated.</B> <I>This class is deprecated as of version 1.3 of the Java 2 Platform.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleRole.html">AccessibleRole</A></B></TD><TD>Class AccessibleRole determines the role of a component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleState.html">AccessibleState</A></B></TD><TD>Class AccessibleState describes a component's particular state.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="AccessibleStateSet.html">AccessibleStateSet</A></B></TD><TD>Class AccessibleStateSet determines a component's state set.</TD></TR></TABLE> <P><A NAME="package_description"><!-- --></A><H2>Package javax.accessibility Description</H2><P>Defines a contract between user-interface components and an assistive technologythat provides access to those components. If a Java application fully supportsthe Java Accessibility API, then it should be compatible with, and friendlytoward, assistive technologies such as screen readers, screen magnifiers,etc. With a Java application that fully supports the Java AccessibilityAPI, no screen reader off screen model would be necessary because the APIprovides all of the information normally contained in an off screen model.<P>The Java Accessibility API package consists of 8 Java programming languageinterfaces, and 6 Java programming language classes. These are describedbelow.<H3><A NAME="Accessible"></A><A HREF="Accessible.html">Interface Accessible</A></H3><A HREF="Accessible.html">Interface Accessible</A> is the main interfaceof the Java Accessibility API. All components that support the Java AccessibilityAPI must implement this interface. It contains a single method, <TT>getAccessibleContext</TT>,that returns an instance of the class <A HREF="#AccessibleContext">AccessibleContext</A>.Sun thinks that implementing this interface is the absolute minimum requirementof every object that is part of the user interface of a Java application,if that program is to be compatible with assistive technologies.<H3><A NAME="AccessibleContext"></A><A HREF="AccessibleContext.html">ClassAccessibleContext</A></H3><A HREF="AccessibleContext.html">AccessibleContext</A> represents the minimuminformation all accessible objects return and is obtained by calling the<TT>getAccessibleContext</TT> method on an object that implements the <A HREF="#Accessible">Accessible</A>interface. This information includes the accessible name, description,<A HREF="#AccessibleRole">role</A>, and <A HREF="#AccessibleState">state</A>of the object, as well as information about the parent and children ofthe object. In addition, JavaBeans <SUP><FONT SIZE=-2>TM</FONT></SUP>property change support is also included to allow assisitive technologieslearn when the values of the accessible properties change. AccessibleContextalso contains methods for obtaining more specific accessibility informationabout a component. If the component supports it, these methods will returnan object that implements one or more of the following interfaces:<UL><LI><B><A HREF="#AccessibleAction">AccessibleAction</A></B> - the object canperform one or more actions. This interface provides the standard mechanismfor an assistive technology to determine what those actions are and tellthe object to perform those actions. Any object that can be manipulatedshould return an object that implements this interface when the <TT>getAccessibleAction</TT>method is called on an AccessibleContext.</LI><LI><B><A HREF="#AccessibleComponent">AccessibleComponent</A></B> - the objecthas a graphical representation. This interface provides the standard mechanismfor an assistive technology to determine and set the graphical representationof the object. Any object that is rendered on the screen should returnan object that implements this interface when the <TT>getAccessibleComponent</TT>method is called on an AccessibleContext.</LI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -