< prev index next >

src/java.desktop/share/classes/javax/swing/text/MutableAttributeSet.java

Print this page

        

*** 28,39 **** /** * A generic interface for a mutable collection of unique attributes. * * Implementations will probably want to provide a constructor of the ! * form:<tt> ! * public XXXAttributeSet(ConstAttributeSet source);</tt> * */ public interface MutableAttributeSet extends AttributeSet { /** --- 28,39 ---- /** * A generic interface for a mutable collection of unique attributes. * * Implementations will probably want to provide a constructor of the ! * form: <pre>{@code ! * public XXXAttributeSet(ConstAttributeSet source);}</pre> * */ public interface MutableAttributeSet extends AttributeSet { /**
*** 53,77 **** * @param attributes the set of attributes */ public void addAttributes(AttributeSet attributes); /** ! * Removes an attribute with the given <code>name</code>. * * @param name the attribute name */ public void removeAttribute(Object name); /** ! * Removes an attribute set with the given <code>names</code>. * * @param names the set of names */ public void removeAttributes(Enumeration<?> names); /** ! * Removes a set of attributes with the given <code>name</code>. * * @param attributes the set of attributes */ public void removeAttributes(AttributeSet attributes); --- 53,77 ---- * @param attributes the set of attributes */ public void addAttributes(AttributeSet attributes); /** ! * Removes an attribute with the given {@code name}. * * @param name the attribute name */ public void removeAttribute(Object name); /** ! * Removes an attribute set with the given {@code names}. * * @param names the set of names */ public void removeAttributes(Enumeration<?> names); /** ! * Removes a set of attributes with the given {@code name}. * * @param attributes the set of attributes */ public void removeAttributes(AttributeSet attributes);
< prev index next >