API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute. AttributeSet View Source
Author(s)
Alan Kaminsky
Since
Version
Serial
Hierarchy
 AttributeSet
Subinterfaces
Description
public interface AttributeSet
  Interface AttributeSet specifies the interface for a set of printing attributes.
See also:   
Methods
Hide/Show inherited methods
public boolean add (Attribute attribute)
  Adds the specified attribute to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value.
public boolean addAll (AttributeSet attributes)
  Adds all of the elements in the specified set to this attribute.
public void clear ()
  Removes all attributes from this attribute set.
public boolean containsKey (Class<Object> category)
  Returns true if this attribute set contains an attribute for the specified category.
public boolean containsValue (Attribute attribute)
  Returns true if this attribute set contains the given attribute value.
public boolean equals (Object object)
  Compares the specified object with this attribute set for equality.
public Attribute get (Class<Object> category)
  Returns the attribute value which this attribute set contains in the given attribute category.
public int hashCode ()
  Returns the hash code value for this attribute set.
public boolean isEmpty ()
  Returns true if this attribute set contains no attributes.
public boolean remove (Attribute attribute)
  Removes the specified attribute from this attribute set if present.
public boolean remove (Class<Object> category)
  Removes any attribute for this category from this attribute set if present.
public int size ()
  Returns the number of attributes in this attribute set.
public Attribute toArray ()
  Returns an array of the attributes contained in this set.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar