<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 06:01:35 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  StyleContext.SmallAttributeSet
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/StyleContext.SmallAttributeSet.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../javax/swing/text/StyleContext.NamedStyle.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/text/StyledEditorKit.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="StyleContext.SmallAttributeSet.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.swing.text</FONT>
<BR>
Class  StyleContext.SmallAttributeSet</H2>
<PRE>
java.lang.Object
  |
  +--<B>javax.swing.text.StyleContext.SmallAttributeSet</B>
</PRE>
<HR>
<DL>
<DT>public class <B>StyleContext.SmallAttributeSet</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A></DL>

<P>
This class holds a small number of attributes in an array.
 The storage format is key, value, key, value, etc.  The size
 of the set is the length of the array divided by two.  By
 default, this is the class that will be used to store attributes
 when held in the compact sharable form.
<P>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->


<!-- =========== FIELD SUMMARY =========== -->


<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#StyleContext.SmallAttributeSet(javax.swing.text.StyleContext, javax.swing.text.AttributeSet)">StyleContext.SmallAttributeSet</A></B>(<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A>&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#StyleContext.SmallAttributeSet(javax.swing.text.StyleContext, java.lang.Object[])">StyleContext.SmallAttributeSet</A></B>(java.lang.Object[]&nbsp;attributes)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#clone()">clone</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clones a set of attributes.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#containsAttribute(java.lang.Object, java.lang.Object)">containsAttribute</A></B>(java.lang.Object&nbsp;name,
                  java.lang.Object&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether a given attribute name/value is defined.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#containsAttributes(javax.swing.text.AttributeSet)">containsAttributes</A></B>(<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A>&nbsp;attrs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether the attribute set contains all of
 the given attributes.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#copyAttributes()">copyAttributes</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies a set of attributes.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;obj)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compares this object to the specifed object.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#getAttribute(java.lang.Object)">getAttribute</A></B>(java.lang.Object&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the value of an attribute.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#getAttributeCount()">getAttributeCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the number of attributes that are defined.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#getAttributeNames()">getAttributeNames</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the names of all attributes.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#getResolveParent()">getResolveParent</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If not overriden, the resolving parent defaults to 
 the parent element.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#hashCode()">hashCode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a hashcode for this set of attributes.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#isDefined(java.lang.Object)">isDefined</A></B>(java.lang.Object&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether a given attribute is defined.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#isEqual(javax.swing.text.AttributeSet)">isEqual</A></B>(<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A>&nbsp;attr)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks whether two attribute sets are equal.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/StyleContext.SmallAttributeSet.html#toString()">toString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string showing the key/value pairs</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>finalize, 
getClass, 
notify, 
notifyAll, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="StyleContext.SmallAttributeSet(javax.swing.text.StyleContext, java.lang.Object[])"><!-- --></A><H3>
StyleContext.SmallAttributeSet</H3>
<PRE>
public <B>StyleContext.SmallAttributeSet</B>(java.lang.Object[]&nbsp;attributes)</PRE>
<DL>
</DL>
<HR>

<A NAME="StyleContext.SmallAttributeSet(javax.swing.text.StyleContext, javax.swing.text.AttributeSet)"><!-- --></A><H3>
StyleContext.SmallAttributeSet</H3>
<PRE>
public <B>StyleContext.SmallAttributeSet</B>(<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A>&nbsp;attrs)</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Returns a string showing the key/value pairs<DD><DL>
<DT><B>Overrides:</B><DD>toString in class java.lang.Object</DL>
</DD>
</DL>
<HR>

<A NAME="hashCode()"><!-- --></A><H3>
hashCode</H3>
<PRE>
public int <B>hashCode</B>()</PRE>
<DL>
<DD>Returns a hashcode for this set of attributes.<DD><DL>
<DT><B>Returns:</B><DD>a hashcode value for this set of attributes.<DT><B>Overrides:</B><DD>hashCode in class java.lang.Object</DL>
</DD>
</DL>
<HR>

<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE>
<DL>
<DD>Compares this object to the specifed object.
 The result is <code>true</code> if and only if the argument is not 
 <code>null</code> and is a <code>Font</code> object with the same 
 name, style, and point size as this font.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to compare this font with.<DT><B>Returns:</B><DD><code>true</code> if the objects are equal; 
            <code>false</code> otherwise.<DT><B>Overrides:</B><DD>equals in class java.lang.Object</DL>
</DD>
</DL>
<HR>

<A NAME="clone()"><!-- --></A><H3>
clone</H3>
<PRE>
public java.lang.Object <B>clone</B>()</PRE>
<DL>
<DD>Clones a set of attributes.  Since the set is immutable, a
 clone is basically the same set.<DD><DL>
<DT><B>Returns:</B><DD>the set of attributes<DT><B>Overrides:</B><DD>clone in class java.lang.Object</DL>
</DD>
</DL>
<HR>

<A NAME="getAttributeCount()"><!-- --></A><H3>
getAttributeCount</H3>
<PRE>
public int <B>getAttributeCount</B>()</PRE>
<DL>
<DD>Gets the number of attributes that are defined.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#getAttributeCount()">getAttributeCount</A> in interface <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A><DT><B>Returns:</B><DD>the number of attributes<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#getAttributeCount()"><CODE>AttributeSet.getAttributeCount()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="isDefined(java.lang.Object)"><!-- --></A><H3>
isDefined</H3>
<PRE>
public boolean <B>isDefined</B>(java.lang.Object&nbsp;key)</PRE>
<DL>
<DD>Checks whether a given attribute is defined.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#isDefined(java.lang.Object)">isDefined</A> in interface <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A><DT><B>Parameters:</B><DD><CODE>key</CODE> - the attribute key<DT><B>Returns:</B><DD>true if the attribute is defined<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#isDefined(java.lang.Object)"><CODE>AttributeSet.isDefined(java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="isEqual(javax.swing.text.AttributeSet)"><!-- --></A><H3>
isEqual</H3>
<PRE>
public boolean <B>isEqual</B>(<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A>&nbsp;attr)</PRE>
<DL>
<DD>Checks whether two attribute sets are equal.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#isEqual(javax.swing.text.AttributeSet)">isEqual</A> in interface <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A><DT><B>Parameters:</B><DD><CODE>attr</CODE> - the attribute set to check against<DT><B>Returns:</B><DD>true if the same<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#isEqual(javax.swing.text.AttributeSet)"><CODE>AttributeSet.isEqual(javax.swing.text.AttributeSet)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="copyAttributes()"><!-- --></A><H3>
copyAttributes</H3>
<PRE>
public <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A> <B>copyAttributes</B>()</PRE>
<DL>
<DD>Copies a set of attributes.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#copyAttributes()">copyAttributes</A> in interface <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A><DT><B>Returns:</B><DD>the copy<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#copyAttributes()"><CODE>AttributeSet.copyAttributes()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getAttribute(java.lang.Object)"><!-- --></A><H3>
getAttribute</H3>
<PRE>
public java.lang.Object <B>getAttribute</B>(java.lang.Object&nbsp;key)</PRE>
<DL>
<DD>Gets the value of an attribute.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#getAttribute(java.lang.Object)">getAttribute</A> in interface <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A><DT><B>Parameters:</B><DD><CODE>key</CODE> - the attribute name<DT><B>Returns:</B><DD>the attribute value<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#getAttribute(java.lang.Object)"><CODE>AttributeSet.getAttribute(java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getAttributeNames()"><!-- --></A><H3>
getAttributeNames</H3>
<PRE>
public java.util.Enumeration <B>getAttributeNames</B>()</PRE>
<DL>
<DD>Gets the names of all attributes.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#getAttributeNames()">getAttributeNames</A> in interface <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A><DT><B>Returns:</B><DD>the attribute names<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#getAttributeNames()"><CODE>AttributeSet.getAttributeNames()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="containsAttribute(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
containsAttribute</H3>
<PRE>
public boolean <B>containsAttribute</B>(java.lang.Object&nbsp;name,
                                 java.lang.Object&nbsp;value)</PRE>
<DL>
<DD>Checks whether a given attribute name/value is defined.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#containsAttribute(java.lang.Object, java.lang.Object)">containsAttribute</A> in interface <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A><DT><B>Parameters:</B><DD><CODE>name</CODE> - the attribute name<DD><CODE>value</CODE> - the attribute value<DT><B>Returns:</B><DD>true if the name/value is defined<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#containsAttribute(java.lang.Object, java.lang.Object)"><CODE>AttributeSet.containsAttribute(java.lang.Object, java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="containsAttributes(javax.swing.text.AttributeSet)"><!-- --></A><H3>
containsAttributes</H3>
<PRE>
public boolean <B>containsAttributes</B>(<A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A>&nbsp;attrs)</PRE>
<DL>
<DD>Checks whether the attribute set contains all of
 the given attributes.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#containsAttributes(javax.swing.text.AttributeSet)">containsAttributes</A> in interface <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A><DT><B>Parameters:</B><DD><CODE>attrs</CODE> - the attributes to check<DT><B>Returns:</B><DD>true if the element contains all the attributes<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#containsAttributes(javax.swing.text.AttributeSet)"><CODE>AttributeSet.containsAttributes(javax.swing.text.AttributeSet)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getResolveParent()"><!-- --></A><H3>
getResolveParent</H3>
<PRE>
public <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A> <B>getResolveParent</B>()</PRE>
<DL>
<DD>If not overriden, the resolving parent defaults to 
 the parent element.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#getResolveParent()">getResolveParent</A> in interface <A HREF="../../../javax/swing/text/AttributeSet.html">AttributeSet</A><DT><B>Returns:</B><DD>the attributes from the parent<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/text/AttributeSet.html#getResolveParent()"><CODE>AttributeSet.getResolveParent()</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" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/StyleContext.SmallAttributeSet.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../javax/swing/text/StyleContext.NamedStyle.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/text/StyledEditorKit.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="StyleContext.SmallAttributeSet.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&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>Java is a trademark or registered trademark of Sun Microsystems,  Inc. in the US and other countries.<br>Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font>
</BODY>
</HTML>
