JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Interface
javax.print.attribute.Attribute

Packages that use Attribute
javax.print Provides the principal classes and interfaces for the JavaTM Print Service API. 
javax.print.attribute Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. 
 

Uses of Attribute in javax.print
 

Methods in javax.print that return Attribute
 Attribute[] AttributeException.getUnsupportedValues()
          Returns the array of printing attributes for which the Print Service instance supports the attribute but does not support that particular value of the attribute, or null if there are no such attribute values.
 

Methods in javax.print with parameters of type Attribute
 boolean PrintService.isAttributeValueSupported(Attribute attrval, DocFlavor flavor, AttributeSet attributes)
          Determines whether a client can specify the given printing attribute value when setting up a job for this Print Service.
 

Uses of Attribute in javax.print.attribute
 

Subinterfaces of Attribute in javax.print.attribute
 interface DocAttribute
          Interface DocAttribute is a tagging interface which a printing attribute class implements to indicate the attribute denotes a setting for a doc.
 interface PrintJobAttribute
          PrintJobAttribute is a tagging interface which a printing attribute class implements to indicate the attribute describes the status of a Print Job or some other characteristic of a Print Job.
 interface PrintRequestAttribute
          Interface PrintRequestAttribute is a tagging interface which a printing attribute class implements to indicate the attribute denotes a requested setting for a print job.
 interface PrintServiceAttribute
          Interface PrintServiceAttribute is a tagging interface which a printing attribute class implements to indicate the attribute describes the status of a Print Service or some other characteristic of a Print Service.
 interface SupportedValuesAttribute
          Interface SupportedValuesAttribute is a tagging interface which a printing attribute class implements to indicate the attribute describes the supported values for another attribute.
 

Methods in javax.print.attribute that return Attribute
 Attribute HashAttributeSet.get(Class category)
          Returns the attribute value which this attribute set contains in the given attribute category.
 Attribute[] HashAttributeSet.toArray()
           
static Attribute AttributeSetUtilities.verifyAttributeValue(Object object, Class interfaceName)
          Verify that the given object is an instance of the given interface, which is assumed to be interface Attribute or a subinterface thereof.
 Attribute AttributeSet.get(Class category)
          Returns the attribute value which this attribute set contains in the given attribute category.
 Attribute[] AttributeSet.toArray()
          Returns an array of the attributes contained in this set.
 

Methods in javax.print.attribute with parameters of type Attribute
 boolean HashAttributeSet.add(Attribute attribute)
          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.
 boolean HashAttributeSet.remove(Attribute attribute)
          Removes the specified attribute from this attribute set if present.
 boolean HashAttributeSet.containsValue(Attribute attribute)
          Returns true if this attribute set contains the given attribute.
static void AttributeSetUtilities.verifyCategoryForValue(Class category, Attribute attribute)
          Verify that the given attribute category object is equal to the category of the given attribute value object.
 boolean PrintServiceAttributeSet.add(Attribute attribute)
          Adds the specified attribute value 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 (optional operation).
 boolean PrintRequestAttributeSet.add(Attribute attribute)
          Adds the specified attribute value 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 (optional operation).
 boolean DocAttributeSet.add(Attribute attribute)
          Adds the specified attribute value 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 (optional operation).
 boolean AttributeSet.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.
 boolean AttributeSet.remove(Attribute attribute)
          Removes the specified attribute from this attribute set if present.
 boolean AttributeSet.containsValue(Attribute attribute)
          Returns true if this attribute set contains the given attribute value.
 boolean PrintJobAttributeSet.add(Attribute attribute)
          Adds the specified attribute value 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 (optional operation).
 

Constructors in javax.print.attribute with parameters of type Attribute
HashAttributeSet(Attribute attribute)
          Construct a new attribute set, initially populated with the given attribute.
HashAttributeSet(Attribute[] attributes)
          Construct a new attribute set, initially populated with the values from the given array.
HashAttributeSet(Attribute attribute, Class interfaceName)
          Construct a new attribute set, initially populated with the given attribute, where the members of the attribute set are restricted to the given interface.
HashAttributeSet(Attribute[] attributes, Class interfaceName)
          Construct a new attribute set, where the members of the attribute set are restricted to the given interface.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.