📄 accessiblerelationset.html
字号:
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="relations"><!-- --></A><H3>relations</H3><PRE>protected <A HREF="../../java/util/Vector.html">Vector</A> <B>relations</B></PRE><DL><DD>Each entry in the Vector represents an AccessibleRelation.<DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/accessibility/AccessibleRelationSet.html#add(javax.accessibility.AccessibleRelation)"><CODE>add(javax.accessibility.AccessibleRelation)</CODE></A>, <A HREF="../../javax/accessibility/AccessibleRelationSet.html#addAll(javax.accessibility.AccessibleRelation[])"><CODE>addAll(javax.accessibility.AccessibleRelation[])</CODE></A>, <A HREF="../../javax/accessibility/AccessibleRelationSet.html#remove(javax.accessibility.AccessibleRelation)"><CODE>remove(javax.accessibility.AccessibleRelation)</CODE></A>, <A HREF="../../javax/accessibility/AccessibleRelationSet.html#contains(java.lang.String)"><CODE>contains(java.lang.String)</CODE></A>, <A HREF="../../javax/accessibility/AccessibleRelationSet.html#get(java.lang.String)"><CODE>get(java.lang.String)</CODE></A>, <A HREF="../../javax/accessibility/AccessibleRelationSet.html#size()"><CODE>size()</CODE></A>, <A HREF="../../javax/accessibility/AccessibleRelationSet.html#toArray()"><CODE>toArray()</CODE></A>, <A HREF="../../javax/accessibility/AccessibleRelationSet.html#clear()"><CODE>clear()</CODE></A></DL></DD></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="AccessibleRelationSet()"><!-- --></A><H3>AccessibleRelationSet</H3><PRE>public <B>AccessibleRelationSet</B>()</PRE><DL><DD>Creates a new empty relation set.</DL><HR><A NAME="AccessibleRelationSet(javax.accessibility.AccessibleRelation[])"><!-- --></A><H3>AccessibleRelationSet</H3><PRE>public <B>AccessibleRelationSet</B>(<A HREF="../../javax/accessibility/AccessibleRelation.html">AccessibleRelation</A>[] relations)</PRE><DL><DD>Creates a new relation with the initial set of relations contained in the array of relations passed in. Duplicate entries are ignored.<DD><DL><DT><B>Parameters:</B><DD><CODE>relation</CODE> - an array of AccessibleRelation describing the relation set.</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="add(javax.accessibility.AccessibleRelation)"><!-- --></A><H3>add</H3><PRE>public boolean <B>add</B>(<A HREF="../../javax/accessibility/AccessibleRelation.html">AccessibleRelation</A> relation)</PRE><DL><DD>Adds a new relation to the current relation set if it is not already present. If the relation is already in the relation set, the relation set is unchanged and the return value is false. Otherwise, the relation is added to the relation set and the return value is true.<DD><DL><DT><B>Parameters:</B><DD><CODE>relation</CODE> - the relation to add to the relation set<DT><B>Returns:</B><DD>true if relation is added to the relation set; false if the relation set is unchanged</DL></DD></DL><HR><A NAME="addAll(javax.accessibility.AccessibleRelation[])"><!-- --></A><H3>addAll</H3><PRE>public void <B>addAll</B>(<A HREF="../../javax/accessibility/AccessibleRelation.html">AccessibleRelation</A>[] relations)</PRE><DL><DD>Adds all of the relations to the existing relation set. Duplicate entries are ignored.<DD><DL><DT><B>Parameters:</B><DD><CODE>relation</CODE> - AccessibleRelation array describing the relation set.</DL></DD></DL><HR><A NAME="remove(javax.accessibility.AccessibleRelation)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(<A HREF="../../javax/accessibility/AccessibleRelation.html">AccessibleRelation</A> relation)</PRE><DL><DD>Removes a relation from the current relation set. If the relation is not in the set, the relation set will be unchanged and the return value will be false. If the relation is in the relation set, it will be removed from the set and the return value will be true.<DD><DL><DT><B>Parameters:</B><DD><CODE>relation</CODE> - the relation to remove from the relation set<DT><B>Returns:</B><DD>true if the relation is in the relation set; false if the relation set is unchanged</DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>()</PRE><DL><DD>Removes all the relations from the current relation set.</DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>()</PRE><DL><DD>Returns the number of relations in the relation set.</DL><HR><A NAME="contains(java.lang.String)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(<A HREF="../../java/lang/String.html">String</A> key)</PRE><DL><DD>Returns whether the relation set contains a relation that matches the specified key.<DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the AccessibleRelation key<DT><B>Returns:</B><DD>true if the relation is in the relation set; otherwise false</DL></DD></DL><HR><A NAME="get(java.lang.String)"><!-- --></A><H3>get</H3><PRE>public <A HREF="../../javax/accessibility/AccessibleRelation.html">AccessibleRelation</A> <B>get</B>(<A HREF="../../java/lang/String.html">String</A> key)</PRE><DL><DD>Returns the relation that matches the specified key.<DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the AccessibleRelation key<DT><B>Returns:</B><DD>the relation, if one exists, that matches the specified key. Otherwise, null is returned.</DL></DD></DL><HR><A NAME="toArray()"><!-- --></A><H3>toArray</H3><PRE>public <A HREF="../../javax/accessibility/AccessibleRelation.html">AccessibleRelation</A>[] <B>toArray</B>()</PRE><DL><DD>Returns the current relation set as an array of AccessibleRelation<DD><DL><DT><B>Returns:</B><DD>AccessibleRelation array contacting the current relation.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="../../java/lang/String.html">String</A> <B>toString</B>()</PRE><DL><DD>Creates a localized String representing all the relations in the set using the default locale.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>comma separated localized String<DT><B>See Also: </B><DD><A HREF="../../javax/accessibility/AccessibleBundle.html#toDisplayString(java.lang.String, java.util.Locale)"><CODE>AccessibleBundle.toDisplayString(java.lang.String, java.util.Locale)</CODE></A></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/AccessibleRelationSet.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/accessibility/AccessibleRelation.html"><B>PREV CLASS</B></A> <A HREF="../../javax/accessibility/AccessibleResourceBundle.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="AccessibleRelationSet.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <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 + -