⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 accessiblestateset.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><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="states"><!-- --></A><H3>states</H3><PRE>protected <A HREF="../../java/util/Vector.html">Vector</A> <B>states</B></PRE><DL><DD>Each entry in the Vector represents an AccessibleState.<DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/accessibility/AccessibleStateSet.html#add(javax.accessibility.AccessibleState)"><CODE>add(javax.accessibility.AccessibleState)</CODE></A>, <A HREF="../../javax/accessibility/AccessibleStateSet.html#addAll(javax.accessibility.AccessibleState[])"><CODE>addAll(javax.accessibility.AccessibleState[])</CODE></A>, <A HREF="../../javax/accessibility/AccessibleStateSet.html#remove(javax.accessibility.AccessibleState)"><CODE>remove(javax.accessibility.AccessibleState)</CODE></A>, <A HREF="../../javax/accessibility/AccessibleStateSet.html#contains(javax.accessibility.AccessibleState)"><CODE>contains(javax.accessibility.AccessibleState)</CODE></A>, <A HREF="../../javax/accessibility/AccessibleStateSet.html#toArray()"><CODE>toArray()</CODE></A>, <A HREF="../../javax/accessibility/AccessibleStateSet.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="AccessibleStateSet()"><!-- --></A><H3>AccessibleStateSet</H3><PRE>public <B>AccessibleStateSet</B>()</PRE><DL><DD>Creates a new empty state set.</DL><HR><A NAME="AccessibleStateSet(javax.accessibility.AccessibleState[])"><!-- --></A><H3>AccessibleStateSet</H3><PRE>public <B>AccessibleStateSet</B>(<A HREF="../../javax/accessibility/AccessibleState.html">AccessibleState</A>[]&nbsp;states)</PRE><DL><DD>Creates a new state with the initial set of states contained in  the array of states passed in.  Duplicate entries are ignored.<DD><DL><DT><B>Parameters:</B><DD><CODE>state</CODE> - an array of AccessibleState describing the state 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.AccessibleState)"><!-- --></A><H3>add</H3><PRE>public boolean <B>add</B>(<A HREF="../../javax/accessibility/AccessibleState.html">AccessibleState</A>&nbsp;state)</PRE><DL><DD>Adds a new state to the current state set if it is not already present.  If the state is already in the state set, the state set is unchanged and the return value is false.  Otherwise,  the state is added to the state set and the return value is true.<DD><DL><DT><B>Parameters:</B><DD><CODE>state</CODE> - the state to add to the state set<DT><B>Returns:</B><DD>true if state is added to the state set; false if the state set  is unchanged</DL></DD></DL><HR><A NAME="addAll(javax.accessibility.AccessibleState[])"><!-- --></A><H3>addAll</H3><PRE>public void <B>addAll</B>(<A HREF="../../javax/accessibility/AccessibleState.html">AccessibleState</A>[]&nbsp;states)</PRE><DL><DD>Adds all of the states to the existing state set.  Duplicate entries  are ignored.<DD><DL><DT><B>Parameters:</B><DD><CODE>state</CODE> - AccessibleState array describing the state set.</DL></DD></DL><HR><A NAME="remove(javax.accessibility.AccessibleState)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(<A HREF="../../javax/accessibility/AccessibleState.html">AccessibleState</A>&nbsp;state)</PRE><DL><DD>Removes a state from the current state set.  If the state is not in the set, the state set will be unchanged and the return value will be false.  If the state is in the state set, it will be removed from the set and the return value will be true.<DD><DL><DT><B>Parameters:</B><DD><CODE>state</CODE> - the state to remove from the state set<DT><B>Returns:</B><DD>true if the state is in the state set; false if the state set  will be unchanged</DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>()</PRE><DL><DD>Removes all the states from the current state set.</DL><HR><A NAME="contains(javax.accessibility.AccessibleState)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(<A HREF="../../javax/accessibility/AccessibleState.html">AccessibleState</A>&nbsp;state)</PRE><DL><DD>Checks if the current state is in the state set.<DD><DL><DT><B>Parameters:</B><DD><CODE>state</CODE> - the state<DT><B>Returns:</B><DD>true if the state is in the state set; otherwise false</DL></DD></DL><HR><A NAME="toArray()"><!-- --></A><H3>toArray</H3><PRE>public <A HREF="../../javax/accessibility/AccessibleState.html">AccessibleState</A>[] <B>toArray</B>()</PRE><DL><DD>Returns the current state set as an array of AccessibleState<DD><DL><DT><B>Returns:</B><DD>AccessibleState array containing the current state.</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 states 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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/AccessibleStateSet.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../javax/accessibility/AccessibleState.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AccessibleStateSet.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -