📄 package-summary.html
字号:
<LI><B><A HREF="#AccessibleSelection">AccessibleSelection</A></B> - the objectallows its children to be selected. This interface provides the standardmechanism for an assistive technology to determine the currently selectedchildren as well as modify the selection set. Any object that has childrenthat can be selected should return an object that implements this interfacewhen the <TT>getAccessibleSelection</TT> method is called on an AccessibleContext.</LI><LI><B><A HREF="#AccessibleText">AccessibleText</A></B> - the object presentseditable textual information on the display. This interface provides thestandard mechanism for an assistive technology to access that text viaits content, attributes, and spatial location. Any object that containseditable text should return an object that implements this interface whenthe <TT>getAccessibleText</TT> method is called on an AccessibleContext.</LI><LI><B><A HREF="#AccessibleHypertext">AccessibleHypertext</A></B> - the objectpresents hypertext information on the display. This interface providesthe standard mechanism for an assistive technology to access that hypertextvia its content, attributes, and spatial location. Any object that containshypertext should return an object that implements this interface when the<TT>getAccessibleText</TT> method is called on an AccessibleContext.</LI><LI><B><A HREF="#AccessibleValue">AccessibleValue</A></B> - the object supportsa numerical value. This interface provides the standard mechanism for anassistive technology to determine and set the current value of the object,as well as the minimum and maximum values. Any object that supports a numericalvalue should return an object that implements this interface when the <TT>getAccessibleValue</TT>method is called on an AccessibleContext.</LI></UL><H3><A NAME="AccessibleRole"></A><A HREF="AccessibleRole.html">Class AccessibleRole</A></H3>This class encapsulates the Accessible object's role in the user interfaceand is obtained by calling the <TT>getAccessibleRole</TT> method on an<A HREF="#AccessibleContext">AccessibleContext</A>. Accessible roles include"Check box", "Menu Item", "Panel", etc. These roles are identified by theconstants in this class such as <TT>AccessibleRole.CHECK_BOX, AccessibleRole.MENU_ITEM,</TT>and <TT>AccessibleRole.PANEL</TT>. The constants in this class presenta strongly typed enumeration of common object roles. A public constructorfor this class has been purposely omitted and applications should use oneof the constants from this class. Although this class pre-defines a largelist of standard roles, it is extensible so additional programmer-definedroles can be added in the future without needing to modify the base class.<H3><A NAME="AccessibleState"></A><A HREF="AccessibleState.html">Class AccessibleState</A></H3>This class encapsulates a particular state of the Accessible object. Accessiblestates include things like "Armed", "Busy", "Checked", "Focused", etc.These roles are identified by the constants in this class such as <TT>AccessibleState.ARMED,AccessibleState.BUSY, AccessibleState.CHECKED,</TT> and <TT>AccessibleState.FOCUSED</TT>.The sum of all the states of an Accessible object is called the <A HREF="#AccessibleStateSet">AccessibleStateSet</A>,and can be obtained by calling the <TT>getAccessibleStateSet</TT> methodon an <A HREF="#AccessibleContext">AccessibleContext</A>.<P>The constants in this class present a strongly typed enumeration ofcommon object roles. A public constructor for this class has been purposelyomitted and applications should use one of the constants from this class.Although this class pre-defines a large list of standard roles, it is extensibleso additional, programmer-defined roles can be added in the future withoutneeding to modify the base class.<H3><A NAME="AccessibleStateSet"></A><A HREF="AccessibleStateSet.html">ClassAccessibleStateSet</A></H3>This class encapsulates a collection of states of the Accessible objectand is obtained by calling the <TT>getAccessibleStateSet</TT> method onan <A HREF="#AccessibleContext">AccessibleContext</A>. Since an objectmight have multiple states (e.g. it might be both "Checked" and "Focused"),this class is needed to encapsulate a collection of these states. Methodsin the class provide for retrieving the individual <A HREF="#AccessibleState">AccessibleStates</A>on the state set.<H3><A NAME="AccessibleBundle"></A><A HREF="AccessibleBundle.html">Class AccessibleBundle</A></H3>This class is used to maintain a strongly typed enumeration. It is thesuper class of both the <A HREF="#AccessibleRole">AccessibleRole</A> and<A HREF="#AccessibleState">AccessibleState</A> classes. Programmers normallydo not interact with this class directly, but will instead use the <A HREF="#AccessibleRole">AccessibleRole</A>and <A HREF="#AccessibleState">AccessibleState</A> classes.<H3><A NAME="AccessibleAction"></A><A HREF="AccessibleAction.html">InterfaceAccessibleAction</A></H3>The <A HREF="AccessibleAction.html">AccessibleAction</A> interface shouldbe supported by any object that can perform one or more actions. This interfaceprovides the standard mechanism for an assistive technology to determinewhat those actions are as well as tell the object to perform those actions.Any object that can be manipulated should support this interface.<P>Applications can determine if an object supports the AccessibleActioninterface by first obtaining its <A HREF="#AccessibleContext">AccessibleContext</A>(see <A HREF="#Accessible">Accessible</A>) and then calling the <TT>getAccessibleAction</TT>method of <A HREF="#AccessibleContext">AccessibleContext</A>. If the returnvalue is not null, the object supports this interface.<H3><A NAME="AccessibleComponent"></A><A HREF="AccessibleComponent.html">InterfaceAccessibleComponent</A></H3>The <A HREF="AccessibleComponent.html">AccessibleComponent</A> interfaceshould be supported by any object that is rendered on the screen. Thisinterface provides the standard mechanism for an assistive technology todetermine and set the graphical representation of an object.<P>Applications can determine if an object supports the AccessibleComponentinterface by first obtaining its <A HREF="#AccessibleContext">AccessibleContext</A>(see <A HREF="#Accessible">Accessible</A>) and then calling the <TT>getAccessibleComponent</TT>method of <A HREF="#AccessibleContext">AccessibleContext</A>. If the returnvalue is not null, the object supports this interface.<H3><A NAME="AccessibleSelection"></A><A HREF="AccessibleSelection.html">InterfaceAccessibleSelection</A></H3>The <A HREF="AccessibleSelection.html">AccessibleSelection</A> interfaceprovides the standard mechanism for an assistive technology to determinewhat the current selected children are, as well as modify the selectionset. Any object that has children that can be selected should support thisthe AccessibleSelection interface.<P>Applications can determine if an object supports the AccessibleSelectioninterface by first obtaining its <A HREF="#AccessibleContext">AccessibleContext</A>(see <A HREF="#Accessible">Accessible</A>) and then calling the <TT>getAccessibleSelection</TT>method of <A HREF="#AccessibleContext">AccessibleContext</A>. If the returnvalue is not null, the object supports this interface.<H3><A NAME="AccessibleText"></A><A HREF="AccessibleText.html">Interface AccessibleText</A></H3>Interface <A HREF="AccessibleText.html">AccessibleText</A> is the contractfor making rich, editable text Accessible. Not all text displayed on thescreen is rich and editable (e.g. text contained in buttons, labels, menus,etc., which users aren't expected to manipulate). However, objects containingeditable text must implement interface AccessibleText if they are to interoperatewith assistive technologies.<P>This interface provides support for going between pixel coordinatesand the text at a given pixel coordinate, for retrieving the letter, word,and sentence at, before, or after a given position in the text. This interfaceprovides support for retrieving the attributes of the character at a givenposition in the text (font, font size, style, etc.), as well as gettingthe selected text (if any), the length of the text, and the location ofthe text caret.<P>Applications can determine if an object supports the AccessibleTextinterface by first obtaining its <A HREF="#AccessibleContext">AccessibleContext</A>(see <A HREF="#Accessible">Accessible</A>) and then calling the <TT>getAccessibleText</TT>method of <A HREF="#AccessibleContext">AccessibleContext</A>. If the returnvalue is not null, the object supports this interface.<H3><A NAME="AccessibleHypertext"></A><A HREF="AccessibleHypertext.html">Interface AccessibleHypertext</A></H3>The <A HREF="AccessibleHypertext.html">AccessibleHypertext</A> interfaceshould be supported by any object that presents hypertext information onthe display. This interface provides the standard mechanism for an assistivetechnology to access that text via its content, attributes, and spatiallocation. It also provides standard mechanisms for manipulating <A HREF="#AccessibleHyperlink">hyperlinks</A>.Applications can determine if an object supports the AccessibleHypertextinterface by first obtaining its <A HREF="#AccessibleContext">AccessibleContext</A>(see <A HREF="#Accessible">Accessible</A>) and then calling the AccessibleContext.getAccessibleText()method of <A HREF="#AccessibleContext">AccessibleContext</A>. If the returnvalue is a class which extends AccessibleHypertext, then that object supportsAccessibleHypertext.<H3><A NAME="AccessibleHyperlink"></A><A HREF="AccessibleHyperlink.html">InterfaceAccessibleHyperlink</A></H3>An object that is a hyperlink should support the <A HREF="AccessibleHyperlink.html">AccessibleHyperlink</A>interface. An object that implements this interface will be returnedby calling the getLink method on an <A HREF="#AccessibleHypertext">AccessibleHypertext</A>object.<H3><A NAME="AccessibleValue"></A><A HREF="AccessibleValue.html">InterfaceAccessibleValue</A></H3>The <A HREF="AccessibleValue.html">AccessibleValue</A> interface shouldbe supported by any object that supports a numerical value (e.g., a scrollbar). This interface provides the standard mechanism for an assistive technologyto determine and set the numerical value as well as get the minimum andmaximum values.<P>Applications can determine if an object supports the AccessibleValueinterface by first obtaining its <A HREF="#AccessibleContext">AccessibleContext</A>(see <A HREF="#Accessible">Accessible</A>) and then calling the <TT>getAccessibleValue</TT>method of <A HREF="#AccessibleContext">AccessibleContext</A>. If the returnvalue is not null, the object supports this interface.<P><DL><DT><B>Since: </B><DD>JDK1.2</DD></DL><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_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><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -