API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute. HashPrintJobAttributeSet View Source
Author(s)
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      HashAttributeSet
          HashPrintJobAttributeSet
Implements
 PrintJobAttributeSet
 Serializable
Subclasses
Description
public class HashPrintJobAttributeSet
  Class HashPrintJobAttributeSet provides an attribute set which inherits its implementation from class HashAttributeSet and enforces the semantic restrictions of interface PrintJobAttributeSet.
See also:   
Constructors
public HashPrintJobAttributeSet ()
Construct a new, empty hash print job attribute set.
public HashPrintJobAttributeSet (PrintJobAttribute attribute)
  Construct a new hash print job attribute set, initially populated with the given value.
public HashPrintJobAttributeSet (PrintJobAttribute attributes)
  Construct a new hash print job attribute set, initially populated with the values from the given array.
public HashPrintJobAttributeSet (PrintJobAttributeSet 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 PrintJobAttribute 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