📄 jcomponent.accessiblejcomponent.html
字号:
public void <B>addPropertyChangeListener</B>(<A HREF="../../java/beans/PropertyChangeListener.html">PropertyChangeListener</A> listener)</PRE><DL><DD>Adds a PropertyChangeListener to the listener list.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A></CODE> in class <CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html">Component.AccessibleAWTComponent</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the PropertyChangeListener to be added</DL></DD></DL><HR><A NAME="removePropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>removePropertyChangeListener</H3><PRE>public void <B>removePropertyChangeListener</B>(<A HREF="../../java/beans/PropertyChangeListener.html">PropertyChangeListener</A> listener)</PRE><DL><DD>Removes a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A></CODE> in class <CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html">Component.AccessibleAWTComponent</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the PropertyChangeListener to be removed</DL></DD></DL><HR><A NAME="getBorderTitle(javax.swing.border.Border)"><!-- --></A><H3>getBorderTitle</H3><PRE>protected <A HREF="../../java/lang/String.html">String</A> <B>getBorderTitle</B>(<A HREF="../../javax/swing/border/Border.html">Border</A> b)</PRE><DL><DD>Recursively search through the border hierarchy (if it exists) for a TitledBorder with a non-null title. This does a depth first search on first the inside borders then the outside borders. The assumption is that titles make really pretty inside borders but not very pretty outside borders in compound border situations. It's rather arbitrary, but hopefully decent UI programmers will not create multiple titled borders for the same component.</DL><HR><A NAME="getAccessibleName()"><!-- --></A><H3>getAccessibleName</H3><PRE>public <A HREF="../../java/lang/String.html">String</A> <B>getAccessibleName</B>()</PRE><DL><DD>Gets the accessible name of this object. This should almost never return java.awt.Component.getName(), as that generally isn't a localized name, and doesn't have meaning for the user. If the object is fundamentally a text object (such as a menu item), the accessible name should be the text of the object (for example, "save"). If the object has a tooltip, the tooltip text may also be an appropriate String to return.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getAccessibleName()">getAccessibleName</A></CODE> in class <CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html">Component.AccessibleAWTComponent</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the localized name of the object -- can be null if this object does not have a name<DT><B>See Also: </B><DD><A HREF="../../javax/accessibility/AccessibleContext.html#setAccessibleName(java.lang.String)"><CODE>AccessibleContext.setAccessibleName(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="getAccessibleDescription()"><!-- --></A><H3>getAccessibleDescription</H3><PRE>public <A HREF="../../java/lang/String.html">String</A> <B>getAccessibleDescription</B>()</PRE><DL><DD>Gets the accessible description of this object. This should be a concise, localized description of what this object is - what is its meaning to the user. If the object has a tooltip, the tooltip text may be an appropriate string to return, assuming it contains a concise description of the object (instead of just the name of the object - for example a "Save" icon on a toolbar that had "save" as the tooltip text shouldn't return the tooltip text as the description, but something like "Saves the current text document" instead).<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getAccessibleDescription()">getAccessibleDescription</A></CODE> in class <CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html">Component.AccessibleAWTComponent</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the localized description of the object -- can be null if this object does not have a description<DT><B>See Also: </B><DD><A HREF="../../javax/accessibility/AccessibleContext.html#setAccessibleDescription(java.lang.String)"><CODE>AccessibleContext.setAccessibleDescription(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="getAccessibleRole()"><!-- --></A><H3>getAccessibleRole</H3><PRE>public <A HREF="../../javax/accessibility/AccessibleRole.html">AccessibleRole</A> <B>getAccessibleRole</B>()</PRE><DL><DD>Gets the role of this object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getAccessibleRole()">getAccessibleRole</A></CODE> in class <CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html">Component.AccessibleAWTComponent</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an instance of AccessibleRole describing the role of the object<DT><B>See Also: </B><DD><A HREF="../../javax/accessibility/AccessibleRole.html"><CODE>AccessibleRole</CODE></A></DL></DD></DL><HR><A NAME="getAccessibleStateSet()"><!-- --></A><H3>getAccessibleStateSet</H3><PRE>public <A HREF="../../javax/accessibility/AccessibleStateSet.html">AccessibleStateSet</A> <B>getAccessibleStateSet</B>()</PRE><DL><DD>Gets the state of this object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html#getAccessibleStateSet()">getAccessibleStateSet</A></CODE> in class <CODE><A HREF="../../java/awt/Component.AccessibleAWTComponent.html">Component.AccessibleAWTComponent</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an instance of AccessibleStateSet containing the current state set of the object<DT><B>See Also: </B><DD><A HREF="../../javax/accessibility/AccessibleState.html"><CODE>AccessibleState</CODE></A></DL></DD></DL><HR><A NAME="getAccessibleChildrenCount()"><!-- --></A><H3>getAccessibleChildrenCount</H3><PRE>public int <B>getAccessibleChildrenCount</B>()</PRE><DL><DD>Returns the number of accessible children in the object. If all of the children of this object implement Accessible, than this method should return the number of children of this object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Container.AccessibleAWTContainer.html#getAccessibleChildrenCount()">getAccessibleChildrenCount</A></CODE> in class <CODE><A HREF="../../java/awt/Container.AccessibleAWTContainer.html">Container.AccessibleAWTContainer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of accessible children in the object.</DL></DD></DL><HR><A NAME="getAccessibleChild(int)"><!-- --></A><H3>getAccessibleChild</H3><PRE>public <A HREF="../../javax/accessibility/Accessible.html">Accessible</A> <B>getAccessibleChild</B>(int i)</PRE><DL><DD>Returns the nth Accessible child of the object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/awt/Container.AccessibleAWTContainer.html#getAccessibleChild(int)">getAccessibleChild</A></CODE> in class <CODE><A HREF="../../java/awt/Container.AccessibleAWTContainer.html">Container.AccessibleAWTContainer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - zero-based index of child<DT><B>Returns:</B><DD>the nth Accessible child of the object</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JComponent.AccessibleJComponent.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="../../javax/swing/JComponent.html"><B>PREV CLASS</B></A> <A HREF="../../javax/swing/JComponent.AccessibleJComponent.AccessibleContainerHandler.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="JComponent.AccessibleJComponent.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#inner_class_summary">INNER</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</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 + -