📄 mutableattributeset.html
字号:
</TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.text.AttributeSet"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface javax.swing.text.<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/swing/text/AttributeSet.html#containsAttribute(java.lang.Object, java.lang.Object)">containsAttribute</A>, <A HREF="../../../javax/swing/text/AttributeSet.html#containsAttributes(javax.swing.text.AttributeSet)">containsAttributes</A>, <A HREF="../../../javax/swing/text/AttributeSet.html#copyAttributes()">copyAttributes</A>, <A HREF="../../../javax/swing/text/AttributeSet.html#getAttribute(java.lang.Object)">getAttribute</A>, <A HREF="../../../javax/swing/text/AttributeSet.html#getAttributeCount()">getAttributeCount</A>, <A HREF="../../../javax/swing/text/AttributeSet.html#getAttributeNames()">getAttributeNames</A>, <A HREF="../../../javax/swing/text/AttributeSet.html#getResolveParent()">getResolveParent</A>, <A HREF="../../../javax/swing/text/AttributeSet.html#isDefined(java.lang.Object)">isDefined</A>, <A HREF="../../../javax/swing/text/AttributeSet.html#isEqual(javax.swing.text.AttributeSet)">isEqual</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="addAttribute(java.lang.Object, java.lang.Object)"><!-- --></A><H3>addAttribute</H3><PRE>public void <B>addAttribute</B>(<A HREF="../../../java/lang/Object.html">Object</A> name, <A HREF="../../../java/lang/Object.html">Object</A> value)</PRE><DL><DD>Creates a new attribute set similar to this one except that it contains an attribute with the given name and value. The object must be immutable, or not mutated by any client.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name<DD><CODE>value</CODE> - the value</DL></DD></DL><HR><A NAME="addAttributes(javax.swing.text.AttributeSet)"><!-- --></A><H3>addAttributes</H3><PRE>public void <B>addAttributes</B>(<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A> attributes)</PRE><DL><DD>Creates a new attribute set similar to this one except that it contains the given attributes and values.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attributes</CODE> - the set of attributes</DL></DD></DL><HR><A NAME="removeAttribute(java.lang.Object)"><!-- --></A><H3>removeAttribute</H3><PRE>public void <B>removeAttribute</B>(<A HREF="../../../java/lang/Object.html">Object</A> name)</PRE><DL><DD>Creates a new attribute set similar to this one except that it contains no attribute with the given name.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the attribute name</DL></DD></DL><HR><A NAME="removeAttributes(java.util.Enumeration)"><!-- --></A><H3>removeAttributes</H3><PRE>public void <B>removeAttributes</B>(<A HREF="../../../java/util/Enumeration.html">Enumeration</A> names)</PRE><DL><DD>Creates a new attribute set similar to this one except that it contains no attribute with any of the given names.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>names</CODE> - the set of names</DL></DD></DL><HR><A NAME="removeAttributes(javax.swing.text.AttributeSet)"><!-- --></A><H3>removeAttributes</H3><PRE>public void <B>removeAttributes</B>(<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A> attributes)</PRE><DL><DD>Creates a new attribute set similar to this one except that it contains no attribute with any of the given names and values. Existing attributes with the same name and different value will remain.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attributes</CODE> - the set of attributes</DL></DD></DL><HR><A NAME="setResolveParent(javax.swing.text.AttributeSet)"><!-- --></A><H3>setResolveParent</H3><PRE>public void <B>setResolveParent</B>(<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A> parent)</PRE><DL><DD>Sets the resolving parent. This is the set of attributes to resolve through if an attribute isn't defined locally.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent</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/MutableAttributeSet.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/text/Keymap.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/swing/text/Position.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="MutableAttributeSet.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -