API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute.standard. JobStateReasons View Source
Author(s)
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      AbstractCollection
          AbstractSet
              HashSet
                  JobStateReasons
Implements
 PrintJobAttribute
Subclasses
Description
publicfinal class JobStateReasons
  Class JobStateReasons is a printing attribute class, a set of enumeration values, that provides additional information about the job's current state, i.e., information that augments the value of the job's JobState attribute.
See also:   
Constructors
public JobStateReasons ()
Construct a new, empty job state reasons attribute; the underlying hash set has the default initial capacity and load factor.
public JobStateReasons (Collection<JobStateReason> collection)
  Construct a new job state reasons attribute that contains the same JobStateReason objects as the given collection.
public JobStateReasons (int initialCapacity)
  Construct a new, empty job state reasons attribute; the underlying hash set has the given initial capacity and the default load factor.
public JobStateReasons (int initialCapacity, float loadFactor)
  Construct a new, empty job state reasons attribute; the underlying hash set has the given initial capacity and load factor.
Methods
Hide/Show inherited methods
public boolean add ( E e) [Inherited From HashSet]
  Adds the specified element to this set if it is not already present.
public boolean add (JobStateReason o)
  Adds the specified element to this job state reasons attribute if it is not already present.
public boolean addAll (Collection<Object> c) [Inherited From AbstractCollection]
  Adds all of the elements in the specified collection to this collection (optional operation).
public void clear () [Inherited From HashSet]
  Removes all of the elements from this set.
public Object clone () [Inherited From HashSet]
  Returns a shallow copy of this HashSet instance: the elements themselves are not cloned.
public boolean contains (Object o) [Inherited From HashSet]
  Returns true if this set contains the specified element.
public boolean containsAll (Collection<Object> c) [Inherited From AbstractCollection]
  Returns true if this collection contains all of the elements in the specified collection.
public boolean equals (Object o) [Inherited From AbstractSet]
  Compares the specified object with this set for equality.
publicfinal Class<Attribute> getCategory ()
  Get the printing attribute class which is to be used as the "category" for this printing attribute value.
publicfinal String getName ()
  Get the name of the category of which this attribute value is an instance.
public int hashCode () [Inherited From AbstractSet]
  Returns the hash code value for this set.
public boolean isEmpty () [Inherited From HashSet]
  Returns true if this set contains no elements.
public Iterator< E> iterator () [Inherited From HashSet] [Specified in AbstractCollection]
  Returns an iterator over the elements in this set.
public boolean remove (Object o) [Inherited From HashSet]
  Removes the specified element from this set if it is present.
public boolean removeAll (Collection<Object> c) [Inherited From AbstractSet]
  Removes from this set all of its elements that are contained in the specified collection (optional operation).
public boolean retainAll (Collection<Object> c) [Inherited From AbstractCollection]
  Retains only the elements in this collection that are contained in the specified collection (optional operation).
public int size () [Inherited From HashSet] [Specified in AbstractCollection]
  Returns the number of elements in this set (its cardinality).
public Object toArray () [Inherited From AbstractCollection]
  Returns an array containing all of the elements in this collection.
public T toArray ( T a) [Inherited From AbstractCollection]
  Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.
public String toString () [Inherited From AbstractCollection]
  Returns a string representation of this collection.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar