API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute. HashPrintServiceAttributeSet View Source
Author(s)
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      HashAttributeSet
          HashPrintServiceAttributeSet
Implements
 PrintServiceAttributeSet
 Serializable
Subclasses
Description
public class HashPrintServiceAttributeSet
  Class HashPrintServiceAttributeSet provides an attribute set which inherits its implementation from class HashAttributeSet and enforces the semantic restrictions of interface PrintServiceAttributeSet.
See also:   
Constructors
public HashPrintServiceAttributeSet ()
Construct a new, empty hash print service attribute set.
public HashPrintServiceAttributeSet (PrintServiceAttribute attribute)
  Construct a new hash print service attribute set, initially populated with the given value.
public HashPrintServiceAttributeSet (PrintServiceAttribute attributes)
  Construct a new print service attribute set, initially populated with the values from the given array.
public HashPrintServiceAttributeSet (PrintServiceAttributeSet attributes)
  Construct a new attribute set, initially populated with the values from the given set where the members of the attribute set are restricted to the PrintServiceAttribute interface.
Methods
Hide/Show inherited methods
public boolean add (Attribute attribute) [Inherited From HashAttributeSet]
  Adds the specified attribute to this attribute set if it is not already present, first removing any existing in the same attribute category as the specified attribute value.
public boolean addAll (AttributeSet attributes) [Inherited From HashAttributeSet]
  Adds all of the elements in the specified set to this attribute.
public void clear () [Inherited From HashAttributeSet]
  Removes all attributes from this attribute set.
public boolean containsKey (Class<Object> category) [Inherited From HashAttributeSet]
  Returns true if this attribute set contains an attribute for the specified category.
public boolean containsValue (Attribute attribute) [Inherited From HashAttributeSet]
  Returns true if this attribute set contains the given attribute.
public boolean equals (Object object) [Inherited From HashAttributeSet]
  Compares the specified object with this attribute set for equality.
public Attribute get (Class<Object> category) [Inherited From HashAttributeSet]
  Returns the attribute value which this attribute set contains in the given attribute category.
public int hashCode () [Inherited From HashAttributeSet]
  Returns the hash code value for this attribute set.
public boolean isEmpty () [Inherited From HashAttributeSet]
  Returns true if this attribute set contains no attributes.
public boolean remove (Attribute attribute) [Inherited From HashAttributeSet]
  Removes the specified attribute from this attribute set if present.
public boolean remove (Class<Object> category) [Inherited From HashAttributeSet]
  Removes any attribute for this category from this attribute set if present.
public int size () [Inherited From HashAttributeSet]
  Returns the number of attributes in this attribute set.
public Attribute toArray () [Inherited From HashAttributeSet]
 
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar